File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
third-party/thrift/src/thrift/lib/cpp2/async Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -230,8 +230,8 @@ struct FOLLY_EXPORT EncodedStreamError : std::exception {
230230 if (encoded.metadata .payloadMetadata ().has_value ()) {
231231 auto & md = *encoded.metadata .payloadMetadata ();
232232 if (md.getType () == PayloadMetadata::Type::exceptionMetadata &&
233- md.exceptionMetadata_ref ()->what_utf8 ().has_value ()) {
234- return md.exceptionMetadata_ref ()->what_utf8 ()->c_str ();
233+ md.exceptionMetadata ()->what_utf8 ().has_value ()) {
234+ return md.exceptionMetadata ()->what_utf8 ()->c_str ();
235235 }
236236 }
237237 return " " ;
@@ -241,8 +241,8 @@ struct FOLLY_EXPORT EncodedStreamError : std::exception {
241241 if (encoded.metadata .payloadMetadata ().has_value ()) {
242242 auto & md = *encoded.metadata .payloadMetadata ();
243243 if (md.getType () == PayloadMetadata::Type::exceptionMetadata &&
244- md.exceptionMetadata_ref ()->name_utf8 ().has_value ()) {
245- return md.exceptionMetadata_ref ()->name_utf8 ()->c_str ();
244+ md.exceptionMetadata ()->name_utf8 ().has_value ()) {
245+ return md.exceptionMetadata ()->name_utf8 ()->c_str ();
246246 }
247247 }
248248 return " " ;
You can’t perform that action at this time.
0 commit comments