Skip to content

Commit 2e49c6f

Browse files
committed
Fix misplaced [[no_unique_address]]
This ought to fix the MSVC build; maybe it'll fix the GCC ICE.
1 parent e8baca6 commit 2e49c6f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

include/stdexec/__detail/__connect_awaitable.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,8 +295,9 @@ namespace STDEXEC
295295
std::destroy_at(std::addressof(__awaiter_));
296296
}
297297

298-
[[no_unique_address]] union
298+
union
299299
{
300+
[[no_unique_address]]
300301
__awaiter_t __awaiter_;
301302
};
302303
};

0 commit comments

Comments
 (0)