diff --git a/cpp/include/cudf/detail/normalizing_iterator.cuh b/cpp/include/cudf/detail/normalizing_iterator.cuh index 8f90afc3e57..32df13104e0 100644 --- a/cpp/include/cudf/detail/normalizing_iterator.cuh +++ b/cpp/include/cudf/detail/normalizing_iterator.cuh @@ -1,5 +1,5 @@ /* - * Copyright (c) 2023, NVIDIA CORPORATION. + * Copyright (c) 2023-2024, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -204,8 +204,8 @@ struct alignas(16) base_normalator { private: struct integer_sizeof_fn { - template ())> - CUDF_HOST_DEVICE constexpr std::size_t operator()() const + template ())> + CUDF_HOST_DEVICE std::size_t operator()() const { #ifndef __CUDA_ARCH__ CUDF_FAIL("only integral types are supported"); @@ -213,8 +213,8 @@ struct alignas(16) base_normalator { CUDF_UNREACHABLE("only integral types are supported"); #endif } - template ())> - CUDF_HOST_DEVICE constexpr std::size_t operator()() const noexcept + template ())> + CUDF_HOST_DEVICE std::size_t operator()() const noexcept { return sizeof(T); }