| --- protobuf-cleaned/src/google/protobuf/arenastring.cc 2015-12-30 13:21:46.000000000 -0800 |
| +++ protobuf-patched/src/google/protobuf/arenastring.cc 2016-03-31 13:25:40.888006485 -0700 |
| +::std::string* ArenaStringPtr::MutableNoArena( |
| + const ::std::string* default_value) { |
| + if (ptr_ == default_value) { |
| + CreateInstanceNoArena(default_value); |
| +void ArenaStringPtr::DestroyNoArena(const ::std::string* default_value) { |
| + if (ptr_ != default_value) { |
| --- protobuf-cleaned/src/google/protobuf/arenastring.h 2015-12-30 13:21:46.000000000 -0800 |
| +++ protobuf-patched/src/google/protobuf/arenastring.h 2016-03-31 13:25:40.888006485 -0700 |
| - inline ::std::string* MutableNoArena(const ::std::string* default_value) { |
| - if (ptr_ == default_value) { |
| - CreateInstanceNoArena(default_value); |
| + ::std::string* MutableNoArena(const ::std::string* default_value); |
| inline ::std::string* ReleaseNoArena(const ::std::string* default_value) { |
| if (ptr_ == default_value) { |
| - inline void DestroyNoArena(const ::std::string* default_value) { |
| - if (ptr_ != default_value) { |
| + void DestroyNoArena(const ::std::string* default_value); |
| inline void ClearToEmptyNoArena(const ::std::string* default_value) { |
| if (ptr_ == default_value) { |