@@ -133,24 +133,24 @@ void RequestMessageTranslator::StatusErrorListener::InvalidName(
133
133
internal::string_view unknown_name, internal::string_view message) {
134
134
status_ = ::google::protobuf::util::Status (
135
135
::google::protobuf::util::error::INVALID_ARGUMENT,
136
- loc.ToString () + " : " + message. ToString ( ));
136
+ loc.ToString () + " : " + std::string (message ));
137
137
}
138
138
139
139
void RequestMessageTranslator::StatusErrorListener::InvalidValue (
140
140
const ::google::protobuf::util::converter::LocationTrackerInterface& loc,
141
141
internal::string_view type_name, internal::string_view value) {
142
142
status_ = ::google::protobuf::util::Status (
143
143
::google::protobuf::util::error::INVALID_ARGUMENT,
144
- loc.ToString () + " : invalid value " + value. ToString ( ) + " for type " +
145
- type_name. ToString ( ));
144
+ loc.ToString () + " : invalid value " + std::string (value ) + " for type " +
145
+ std::string (type_name ));
146
146
}
147
147
148
148
void RequestMessageTranslator::StatusErrorListener::MissingField (
149
149
const ::google::protobuf::util::converter::LocationTrackerInterface& loc,
150
150
internal::string_view missing_name) {
151
151
status_ = ::google::protobuf::util::Status (
152
152
::google::protobuf::util::error::INVALID_ARGUMENT,
153
- loc.ToString () + " : missing field " + missing_name. ToString ( ));
153
+ loc.ToString () + " : missing field " + std::string (missing_name ));
154
154
}
155
155
156
156
} // namespace transcoding
0 commit comments