Mark arena getter const.

PiperOrigin-RevId: 457763772
pull/13171/head
Protobuf Team Bot 2 years ago committed by Copybara-Service
parent 34ee951c19
commit da82d15714
  1. 2
      upb/upb.hpp

@ -73,7 +73,7 @@ class Arena {
: ptr_(upb_Arena_Init(initial_block, size, &upb_alloc_global),
upb_Arena_Free) {}
upb_Arena* ptr() { return ptr_.get(); }
upb_Arena* ptr() const { return ptr_.get(); }
// Allows this arena to be used as a generic allocator.
//

Loading…
Cancel
Save