diff options
Diffstat (limited to 'third_party/protobuf/3.2.0/src/google/protobuf/arenastring.cc')
-rw-r--r-- | third_party/protobuf/3.2.0/src/google/protobuf/arenastring.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/third_party/protobuf/3.2.0/src/google/protobuf/arenastring.cc b/third_party/protobuf/3.2.0/src/google/protobuf/arenastring.cc index f10732c0c4..7f33a0c865 100644 --- a/third_party/protobuf/3.2.0/src/google/protobuf/arenastring.cc +++ b/third_party/protobuf/3.2.0/src/google/protobuf/arenastring.cc @@ -38,16 +38,6 @@ namespace protobuf { namespace internal { -void ArenaStringPtr::AssignWithDefault(const ::std::string* default_value, - ArenaStringPtr value) { - const ::std::string* me = *UnsafeRawStringPointer(); - const ::std::string* other = *value.UnsafeRawStringPointer(); - // If the pointers are the same then do nothing. - if (me != other) { - SetNoArena(default_value, value.GetNoArena()); - } -} - } // namespace internal } // namespace protobuf } // namespace google |