Skip to content

Commit 467c9be

Browse files
committed
more portability fixes
1 parent ced9d47 commit 467c9be

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

include/stdexec/__detail/__task.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ namespace STDEXEC {
8181
static_assert(__same_as<value_type, __memblock>);
8282
// Number of __memblock-sized chunks we needed store the allocator:
8383
static constexpr size_t __alloc_blocks =
84-
__task::__divmod(sizeof(__any_alloc), sizeof(__memblock));
84+
__task::__divmod(sizeof(__any_alloc<_PAlloc>), sizeof(__memblock));
8585

8686
explicit __any_alloc(_PAlloc __alloc)
8787
: __alloc_(std::move(__alloc)) {

test/test_common/senders.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ namespace {
268268

269269
template <class Receiver>
270270
auto connect(Receiver rcvr) const noexcept {
271-
return opstate{value_, static_cast<Receiver&&>(rcvr)};
271+
return opstate<Receiver>{value_, static_cast<Receiver&&>(rcvr)};
272272
}
273273

274274
private:

0 commit comments

Comments
 (0)