From 3566a8b160c37eba63fce77768786ef9e2f303e6 Mon Sep 17 00:00:00 2001 From: Jordan Rupprecht Date: Wed, 7 Feb 2024 02:46:32 -0800 Subject: [PATCH] Replace deprecated `_VSTD` macro with `std` (#1331) * Replace deprecated `_VSTD` macro with `std` --- thrust/thrust/type_traits/is_contiguous_iterator.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/thrust/thrust/type_traits/is_contiguous_iterator.h b/thrust/thrust/type_traits/is_contiguous_iterator.h index 3820bed2eb3..ecba372cc06 100644 --- a/thrust/thrust/type_traits/is_contiguous_iterator.h +++ b/thrust/thrust/type_traits/is_contiguous_iterator.h @@ -147,7 +147,11 @@ struct is_libcxx_wrap_iter : false_type {}; #if defined(_LIBCPP_VERSION) template struct is_libcxx_wrap_iter< +# if _LIBCPP_VERSION < 14000 _VSTD::__wrap_iter +# else + std::__wrap_iter +# endif > : true_type {}; #endif