Skip to content

Commit

Permalink
Use actual variadic template.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrhemstad committed Mar 31, 2021
1 parent 51c7ead commit c7ed68c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions cpp/include/cudf/detail/gather.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ void gather_helper(InputItr source_itr,
// Error case when no other overload or specialization is available
template <typename Element, typename Enable = void>
struct column_gatherer_impl {
template <typename...>
std::unique_ptr<column> operator()(...)
template <typename... Args>
std::unique_ptr<column> operator()(Args&&...)
{
CUDF_FAIL("Unsupported type in gather.");
}
Expand Down
4 changes: 2 additions & 2 deletions cpp/include/cudf/detail/scatter.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ auto scatter_to_gather(MapIterator scatter_map_begin,

template <typename Element, typename Enable = void>
struct column_scatterer_impl {
template <typename...>
std::unique_ptr<column> operator()(...) const
template <typename... Args>
std::unique_ptr<column> operator()(Args&&...) const
{
CUDF_FAIL("Unsupported type for scatter.");
}
Expand Down
4 changes: 2 additions & 2 deletions cpp/src/copying/copy.cu
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ namespace {

template <typename T, typename Enable = void>
struct copy_if_else_functor_impl {
template <typename...>
std::unique_ptr<column> operator()(...)
template <typename... Args>
std::unique_ptr<column> operator()(Args&&...)
{
CUDF_FAIL("Unsupported type for copy_if_else.");
}
Expand Down

0 comments on commit c7ed68c

Please sign in to comment.