Skip to content

Commit

Permalink
Changed replace_input to replace_input_as_str
Browse files Browse the repository at this point in the history
  • Loading branch information
augustoasilva committed May 20, 2021
1 parent b50c655 commit cf7a800
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/gandiva/replace_holder.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class GANDIVA_EXPORT ReplaceHolder : public FunctionHolder {
std::string replace_input_as_str(replace_input, replace_input_len);

int32_t total_replaces =
RE2::GlobalReplace(&user_input_as_str, regex_, replace_input);
RE2::GlobalReplace(&user_input_as_str, regex_, replace_input_as_str);

if (total_replaces < 0) {
return_error(ctx, user_input_as_str, replace_input_as_str);
Expand Down

0 comments on commit cf7a800

Please sign in to comment.