Skip to content

Commit

Permalink
clang fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardmgruber committed Jan 22, 2025
1 parent 99495cd commit 75fe5db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions thrust/thrust/detail/allocator_aware_execution_policy.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ struct allocator_aware_execution_policy
// just the rvalue overload
// perfect forwarding doesn't help, because a const reference has to be turned
// into a value by copying for the purpose of storing it in execute_with_allocator
_CCCL_EXEC_CHECK_DISABLE
template <typename Allocator,
typename ::cuda::std::enable_if<!::cuda::std::is_lvalue_reference<Allocator>::value>::type* = nullptr>
_CCCL_HOST_DEVICE typename execute_with_allocator_type<Allocator>::type operator()(Allocator&& alloc) const
Expand Down

0 comments on commit 75fe5db

Please sign in to comment.