| 470 | // Adds |object| to a list of heap-allocated objects to be freed with |delete| |
| 471 | // when the arena is destroyed or reset. |
| 472 | template <typename T> GOOGLE_ATTRIBUTE_NOINLINE |
| 473 | void Own(T* object) { |
| 474 | OwnInternal(object, google::protobuf::internal::is_convertible<T*, ::google::protobuf::Message*>()); |
| 475 | } |
| 476 | |
| 477 | // Adds |object| to a list of objects whose destructors will be manually |
| 478 | // called when the arena is destroyed or reset. This differs from Own() in |
nothing calls this directly
no test coverage detected