Skip to content

Commit

Permalink
Fix a logging call.
Browse files Browse the repository at this point in the history
Change-Id: I6c5937b942242819f63b8271c85a6aa41699e12d
Reviewed-on: https://code-review.googlesource.com/c/re2/+/63410
Reviewed-by: Alejandro Sedeño <[email protected]>
Reviewed-by: Paul Wankadia <[email protected]>
  • Loading branch information
junyer committed Jul 1, 2024
1 parent 99b6b5c commit 433ab9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion re2/re2.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1050,7 +1050,7 @@ bool RE2::Rewrite(std::string* out,
out->push_back('\\');
} else {
if (options_.log_errors())
ABSL_LOG(ERROR) << "invalid rewrite pattern: " << rewrite.data();
ABSL_LOG(ERROR) << "invalid rewrite pattern: " << rewrite;
return false;
}
}
Expand Down

0 comments on commit 433ab9c

Please sign in to comment.