Skip to content

Commit 1d29bb6

Browse files
weynaastotko
authored andcommitted
fix thrust namespace for template specializations that changed since thrust 2.3.0
1 parent 3b7d712 commit 1d29bb6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Diff for: src/stdgpu/impl/iterator_detail.h

+4-2
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,8 @@ inserter(Container& c)
387387

388388
} // namespace stdgpu
389389

390-
namespace thrust::detail
390+
THRUST_NAMESPACE_BEGIN
391+
namespace detail
391392
{
392393

393394
template <typename Container>
@@ -405,6 +406,7 @@ struct is_proxy_reference<stdgpu::detail::insert_iterator_proxy<Container>> : pu
405406
{
406407
};
407408

408-
} // namespace thrust::detail
409+
} // namespace detail
410+
THRUST_NAMESPACE_END
409411

410412
#endif // STDGPU_ITERATORDETAIL_H

0 commit comments

Comments
 (0)