From 031e91dd2269d3a5c3998ac437571c02feb403e9 Mon Sep 17 00:00:00 2001 From: Michael Schellenberger Costa Date: Wed, 22 Jan 2025 15:30:44 +0000 Subject: [PATCH] slice fixes --- .../std/containers/views/mdspan/submdspan/strided_slice.pass.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libcudacxx/test/libcudacxx/std/containers/views/mdspan/submdspan/strided_slice.pass.cpp b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/submdspan/strided_slice.pass.cpp index 5fd0dce906b..c1da6f6cb41 100644 --- a/libcudacxx/test/libcudacxx/std/containers/views/mdspan/submdspan/strided_slice.pass.cpp +++ b/libcudacxx/test/libcudacxx/std/containers/views/mdspan/submdspan/strided_slice.pass.cpp @@ -48,6 +48,7 @@ __host__ __device__ constexpr T construct_from_int(int val) noexcept { if constexpr (cuda::std::__integral_constant_like) { + (void) val; return T{}; } else