Skip to content

Commit

Permalink
No public description
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 671508771
  • Loading branch information
evalon32 authored and copybara-github committed Sep 5, 2024
1 parent a26a01b commit 24237d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/legacy_value.cc
Original file line number Diff line number Diff line change
Expand Up @@ -878,7 +878,7 @@ cel_common_internal_LegacyStructValue_GetType(uintptr_t message_ptr,
uintptr_t type_info) {
auto message_wrapper = AsMessageWrapper(message_ptr, type_info);
if (ABSL_PREDICT_TRUE(message_wrapper.message_ptr() != nullptr)) {
return message_wrapper.message_ptr()->GetTypeName();
return std::string(message_wrapper.message_ptr()->GetTypeName());
}
return std::string(
message_wrapper.legacy_type_info()->GetTypename(message_wrapper));
Expand Down

0 comments on commit 24237d2

Please # to comment.