From f1adb67e5ed5b84a8227df818557e3673df9befd Mon Sep 17 00:00:00 2001 From: Robert Maynard Date: Fri, 14 May 2021 08:42:58 -0400 Subject: [PATCH] Generalized CUDF_FAIL messages --- cpp/src/copying/segmented_shift.cu | 8 -------- 1 file changed, 8 deletions(-) diff --git a/cpp/src/copying/segmented_shift.cu b/cpp/src/copying/segmented_shift.cu index dacc722396e..6fc785a61c6 100644 --- a/cpp/src/copying/segmented_shift.cu +++ b/cpp/src/copying/segmented_shift.cu @@ -121,14 +121,6 @@ struct segmented_shift_functor { template std::unique_ptr operator()(Args&&...) { - if constexpr (std::is_same_v) { - CUDF_FAIL("segmented_shift does not support list_view yet"); - } - - if constexpr (std::is_same_v) { - CUDF_FAIL("segmented_shift does not support struct_view yet"); - } - CUDF_FAIL("Unsupported type for segmented_shift."); } };