Skip to content

Commit

Permalink
Fix conformance_cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Yannic committed Mar 10, 2021
1 parent baef01b commit aa5cb98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions conformance/conformance_cpp.cc
Expand Up @@ -134,7 +134,7 @@ void DoTest(const ConformanceRequest& request, ConformanceResponse* response) {
&proto_binary, options);
if (!status.ok()) {
response->set_parse_error(string("Parse error: ") +
std::string(status.error_message()));
std::string(status.message()));
return;
}

Expand Down Expand Up @@ -189,7 +189,7 @@ void DoTest(const ConformanceRequest& request, ConformanceResponse* response) {
if (!status.ok()) {
response->set_serialize_error(
string("Failed to serialize JSON output: ") +
std::string(status.error_message()));
std::string(status.message()));
return;
}
break;
Expand Down

0 comments on commit aa5cb98

Please sign in to comment.