| 412 | } |
| 413 | |
| 414 | void StringMapFieldKeyAccessor(const google::protobuf::MapKey& key, |
| 415 | const google::protobuf::Message* absl_nonnull message, |
| 416 | google::protobuf::Arena* absl_nonnull arena, |
| 417 | Value* absl_nonnull result) { |
| 418 | ABSL_DCHECK(message != nullptr); |
| 419 | ABSL_DCHECK(arena != nullptr); |
| 420 | ABSL_DCHECK(result != nullptr); |
| 421 | |
| 422 | #if CEL_INTERNAL_PROTOBUF_OSS_VERSION_PREREQ(5, 30, 0) |
| 423 | *result = StringValue(Borrower::Arena(MessageArenaOr(message, arena)), |
| 424 | key.GetStringValue()); |
| 425 | #else |
| 426 | *result = StringValue(arena, key.GetStringValue()); |
| 427 | #endif |
| 428 | } |
| 429 | |
| 430 | } // namespace |
| 431 |
nothing calls this directly
no test coverage detected