Skip to content

Commit

Permalink
Include <thrust/detail/memory_wrapper.h>, not <memory>
Browse files Browse the repository at this point in the history
Redo an earlier fix, which was somehow lost.  Fix NVIDIA#1236
  • Loading branch information
dkolsen-pgi authored and alliepiper committed Jul 17, 2020
1 parent 9ae7aa7 commit d9d7b51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion thrust/allocate_unique.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#include <thrust/detail/allocator/allocator_traits.h>

#include <utility>
#include <memory>
#include <thrust/detail/memory_wrapper.h>

namespace thrust
{
Expand Down
2 changes: 1 addition & 1 deletion thrust/detail/allocator/allocator_traits.inl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include <thrust/detail/type_deduction.h>
#endif

#include <memory>
#include <thrust/detail/memory_wrapper.h>
#include <new>

namespace thrust
Expand Down

0 comments on commit d9d7b51

Please sign in to comment.