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."); }