aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/google/protobuf/dynamic_message.cc
diff options
context:
space:
mode:
authorGravatar Adam Cozzette <acozzette@google.com>2018-03-14 11:17:48 -0700
committerGravatar Adam Cozzette <acozzette@google.com>2018-03-14 11:17:48 -0700
commit67952fab2c766ac5eacc15bb78e5af4039a3d398 (patch)
treeeaaec1e5a17e676cd08535e15a365d557c332c3b /src/google/protobuf/dynamic_message.cc
parentb1216d95db304326f4c28d6dbc7d0860c43d8208 (diff)
Deleted scoped_ptr.h
We no longer need this, now that we have finished the switch to C++11 and are using std::unique_ptr.
Diffstat (limited to 'src/google/protobuf/dynamic_message.cc')
-rw-r--r--src/google/protobuf/dynamic_message.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/google/protobuf/dynamic_message.cc b/src/google/protobuf/dynamic_message.cc
index 44bdd85d..ceedf500 100644
--- a/src/google/protobuf/dynamic_message.cc
+++ b/src/google/protobuf/dynamic_message.cc
@@ -232,10 +232,10 @@ class DynamicMessage : public Message {
std::unique_ptr<uint32[]> offsets;
std::unique_ptr<uint32[]> has_bits_indices;
std::unique_ptr<const GeneratedMessageReflection> reflection;
- // Don't use a scoped_ptr to hold the prototype: the destructor for
+ // Don't use a unique_ptr to hold the prototype: the destructor for
// DynamicMessage needs to know whether it is the prototype, and does so by
// looking back at this field. This would assume details about the
- // implementation of scoped_ptr.
+ // implementation of unique_ptr.
const DynamicMessage* prototype;
int weak_field_map_offset; // The offset for the weak_field_map;