Skip to content

Commit

Permalink
Make execute_with_allocator default constructible
Browse files Browse the repository at this point in the history
  • Loading branch information
miscco committed Nov 14, 2024
1 parent 9763535 commit 5789899
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions thrust/thrust/detail/execute_with_allocator_fwd.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ struct execute_with_allocator : BaseSystem<execute_with_allocator<Allocator, Bas
Allocator alloc;

public:
_CCCL_HOST_DEVICE execute_with_allocator()
: super_t()
, alloc()
{}

_CCCL_HOST_DEVICE execute_with_allocator(super_t const& super, Allocator alloc_)
: super_t(super)
, alloc(alloc_)
Expand Down

0 comments on commit 5789899

Please sign in to comment.