Skip to content

Commit

Permalink
Automated Code Change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 715496871
  • Loading branch information
goldvitaly authored and copybara-github committed Jan 14, 2025
1 parent d43eec8 commit c3a325e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/google/protobuf/text_format.cc
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ class TextFormat::Parser::ParserImpl {
// Consumes the specified message with the given starting delimiter.
// This method checks to see that the end delimiter at the conclusion of
// the consumption matches the starting delimiter passed in here.
bool ConsumeMessage(Message* message, const std::string delimiter) {
bool ConsumeMessage(Message* message, const std::string& delimiter) {
while (!LookingAt(">") && !LookingAt("}")) {
DO(ConsumeField(message));
}
Expand Down

0 comments on commit c3a325e

Please sign in to comment.