Skip to content

Commit

Permalink
Work around GCC compiler error in GTest
Browse files Browse the repository at this point in the history
  • Loading branch information
danakj committed Jan 1, 2023
1 parent 7df3197 commit ecded91
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion third_party/googletest/googletest/src/gtest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4879,7 +4879,8 @@ std::string StreamingListener::UrlEncode(const char* str) {
case '=':
case '&':
case '\n':
result.append("%" + String::FormatByte(static_cast<unsigned char>(ch)));
result.push_back('%');
result.append(String::FormatByte(static_cast<unsigned char>(ch)));
break;
default:
result.push_back(ch);
Expand Down

0 comments on commit ecded91

Please sign in to comment.