From 4d6bb2092cfd31036cd61ceaf7acaf6d1625728f Mon Sep 17 00:00:00 2001 From: Michael Wechner Date: Sat, 17 Aug 2024 20:35:31 +0200 Subject: [PATCH] fix thrust namespace for template specializations that changed since thrust 2.3.0 --- src/stdgpu/impl/iterator_detail.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/stdgpu/impl/iterator_detail.h b/src/stdgpu/impl/iterator_detail.h index 7447dd9bc..ba3442f4d 100644 --- a/src/stdgpu/impl/iterator_detail.h +++ b/src/stdgpu/impl/iterator_detail.h @@ -387,7 +387,8 @@ inserter(Container& c) } // namespace stdgpu -namespace thrust::detail +THRUST_NAMESPACE_BEGIN +namespace detail { template @@ -405,6 +406,7 @@ struct is_proxy_reference> : pu { }; -} // namespace thrust::detail +} // namespace detail +THRUST_NAMESPACE_END #endif // STDGPU_ITERATORDETAIL_H