Skip to content

Commit

Permalink
Pass string_view by value
Browse files Browse the repository at this point in the history
  • Loading branch information
kaatish committed Mar 24, 2021
1 parent 22cf657 commit 7ae3587
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/io/orc/dict_enc.cu
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7ae3587

Please sign in to comment.