aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/google/protobuf/arenastring.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/google/protobuf/arenastring.cc')
-rw-r--r--src/google/protobuf/arenastring.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/google/protobuf/arenastring.cc b/src/google/protobuf/arenastring.cc
index cce61d74..f10732c0 100644
--- a/src/google/protobuf/arenastring.cc
+++ b/src/google/protobuf/arenastring.cc
@@ -44,7 +44,7 @@ void ArenaStringPtr::AssignWithDefault(const ::std::string* default_value,
const ::std::string* other = *value.UnsafeRawStringPointer();
// If the pointers are the same then do nothing.
if (me != other) {
- SetNoArena(default_value, value.GetNoArena(default_value));
+ SetNoArena(default_value, value.GetNoArena());
}
}