diff --git a/cpp/src/io/orc/dict_enc.cu b/cpp/src/io/orc/dict_enc.cu index e1ea3ab01e1..5695e882a95 100644 --- a/cpp/src/io/orc/dict_enc.cu +++ b/cpp/src/io/orc/dict_enc.cu @@ -49,7 +49,7 @@ struct dictinit_state_s { /** * @brief Return a 12-bit hash from a string */ -static inline __device__ uint32_t hash_string(const string_view &val) +static inline __device__ uint32_t hash_string(const string_view val) { if (val.empty()) { return 0;