From c7ed68cd71ab48ea017e4674f1e8f0c524f4a1e7 Mon Sep 17 00:00:00 2001 From: Jake Hemstad Date: Wed, 31 Mar 2021 15:11:48 -0500 Subject: [PATCH] Use actual variadic template. --- cpp/include/cudf/detail/gather.cuh | 4 ++-- cpp/include/cudf/detail/scatter.cuh | 4 ++-- cpp/src/copying/copy.cu | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cpp/include/cudf/detail/gather.cuh b/cpp/include/cudf/detail/gather.cuh index 0803e74d19d..936c6d9307c 100644 --- a/cpp/include/cudf/detail/gather.cuh +++ b/cpp/include/cudf/detail/gather.cuh @@ -142,8 +142,8 @@ void gather_helper(InputItr source_itr, // Error case when no other overload or specialization is available template struct column_gatherer_impl { - template - std::unique_ptr operator()(...) + template + std::unique_ptr operator()(Args&&...) { CUDF_FAIL("Unsupported type in gather."); } diff --git a/cpp/include/cudf/detail/scatter.cuh b/cpp/include/cudf/detail/scatter.cuh index 40235e4f001..b51c44772b5 100644 --- a/cpp/include/cudf/detail/scatter.cuh +++ b/cpp/include/cudf/detail/scatter.cuh @@ -81,8 +81,8 @@ auto scatter_to_gather(MapIterator scatter_map_begin, template struct column_scatterer_impl { - template - std::unique_ptr operator()(...) const + template + std::unique_ptr operator()(Args&&...) const { CUDF_FAIL("Unsupported type for scatter."); } diff --git a/cpp/src/copying/copy.cu b/cpp/src/copying/copy.cu index f6ab26c85b8..fecf7d18d46 100644 --- a/cpp/src/copying/copy.cu +++ b/cpp/src/copying/copy.cu @@ -31,8 +31,8 @@ namespace { template struct copy_if_else_functor_impl { - template - std::unique_ptr operator()(...) + template + std::unique_ptr operator()(Args&&...) { CUDF_FAIL("Unsupported type for copy_if_else."); }