Skip to content

Commit dc225b8

Browse files
committed
Remove [[no_unique_address]]
Per code review feedback, replace `[[no_unique_address]]` with `STDEXEC_ATTRIBUTE(no_unique_address)`.
1 parent 1094cc5 commit dc225b8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

include/exec/function.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ namespace experimental::execution
312312

313313
private:
314314
connect_result_t<Sender, Receiver> op_;
315-
[[no_unique_address]]
315+
STDEXEC_ATTRIBUTE(no_unique_address)
316316
Allocator alloc_;
317317
};
318318

@@ -400,7 +400,7 @@ namespace experimental::execution
400400
{
401401
// rcvr_ has to be initialized before op_ because our implementation of get_env
402402
// is empirically accessed during our constructor and depends on rcvr_ being initialized
403-
[[no_unique_address]]
403+
STDEXEC_ATTRIBUTE(no_unique_address)
404404
Receiver rcvr_;
405405
// the default deleter is OK because we've virtualized operator delete to invoke
406406
// the allocator-based deallocation logic that's necessary to properly support
@@ -474,7 +474,7 @@ namespace experimental::execution
474474
// args_ and connects the resulting sender to the provided receiver
475475
std::unique_ptr<_base_op> (*factory_)(_func_rcvr<completion_signatures<Sigs...>, Queries...>,
476476
Args &&...);
477-
[[no_unique_address]]
477+
STDEXEC_ATTRIBUTE(no_unique_address)
478478
std::tuple<Args...> args_;
479479

480480
public:

0 commit comments

Comments
 (0)