From 60a759d0296fe9069a86e9ec80c40b8819ffac41 Mon Sep 17 00:00:00 2001 From: Eric Niebler Date: Sun, 24 Nov 2024 10:17:08 -0800 Subject: [PATCH] require at least one arg to the non-trivial constructor this makes `__ignore_t` a trivial class type --- libcudacxx/include/cuda/std/__tuple_dir/ignore.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libcudacxx/include/cuda/std/__tuple_dir/ignore.h b/libcudacxx/include/cuda/std/__tuple_dir/ignore.h index 35cffef788..5d3b337764 100644 --- a/libcudacxx/include/cuda/std/__tuple_dir/ignore.h +++ b/libcudacxx/include/cuda/std/__tuple_dir/ignore.h @@ -26,8 +26,8 @@ struct __ignore_t { __ignore_t() = default; - template - _LIBCUDACXX_HIDE_FROM_ABI constexpr __ignore_t(const _Ts&...) noexcept + template + _LIBCUDACXX_HIDE_FROM_ABI constexpr __ignore_t(const _Tp&, const _Ts&...) noexcept {} template