aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/google/protobuf/stubs/map_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/google/protobuf/stubs/map_util.h')
-rw-r--r--src/google/protobuf/stubs/map_util.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/google/protobuf/stubs/map_util.h b/src/google/protobuf/stubs/map_util.h
index 16cbfac4..3e6d381f 100644
--- a/src/google/protobuf/stubs/map_util.h
+++ b/src/google/protobuf/stubs/map_util.h
@@ -654,7 +654,8 @@ InsertOrReturnExisting(
// delete EraseKeyReturnValuePtr(&my_map, "abc");
//
// Use returned value:
-// scoped_ptr<MyType> value_ptr(EraseKeyReturnValuePtr(&my_map, "abc"));
+// std::unique_ptr<MyType> value_ptr(
+// EraseKeyReturnValuePtr(&my_map, "abc"));
// if (value_ptr.get())
// value_ptr->DoSomething();
//