From 8375d20c6c0cc664876285ec626504fbef1a0cc8 Mon Sep 17 00:00:00 2001 From: Michael Schellenberger Costa Date: Fri, 30 Dec 2022 10:39:55 +0100 Subject: [PATCH] Remove invalid qualification of `initializer_list` --- include/cuda/std/detail/libcxx/include/__iterator/empty.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/cuda/std/detail/libcxx/include/__iterator/empty.h b/include/cuda/std/detail/libcxx/include/__iterator/empty.h index d5a1a1831f..82d322bf8f 100644 --- a/include/cuda/std/detail/libcxx/include/__iterator/empty.h +++ b/include/cuda/std/detail/libcxx/include/__iterator/empty.h @@ -38,7 +38,7 @@ constexpr bool empty(const _Tp (&)[_Sz]) noexcept { return false; } template _LIBCUDACXX_NODISCARD_AFTER_CXX17 _LIBCUDACXX_INLINE_VISIBILITY -constexpr bool empty(_CUDA_VSTD::initializer_list<_Ep> __il) noexcept { return __il.size() == 0; } +constexpr bool empty(initializer_list<_Ep> __il) noexcept { return __il.size() == 0; } #endif // _LIBCUDACXX_STD_VER > 17