diff options
Diffstat (limited to 'src/google/protobuf/arenastring.h')
-rwxr-xr-x | src/google/protobuf/arenastring.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/google/protobuf/arenastring.h b/src/google/protobuf/arenastring.h index 5f02ef0d..50f13837 100755 --- a/src/google/protobuf/arenastring.h +++ b/src/google/protobuf/arenastring.h @@ -214,6 +214,8 @@ struct ArenaStringPtr { } } + void AssignWithDefault(const ::std::string* default_value, ArenaStringPtr value); + inline const ::std::string& GetNoArena(const ::std::string* default_value) const { return *ptr_; } |