aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/google/protobuf/stubs/common.h
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/stubs/common.h
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/stubs/common.h')
-rw-r--r--src/google/protobuf/stubs/common.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/google/protobuf/stubs/common.h b/src/google/protobuf/stubs/common.h
index 2fe8a98b..c336383d 100644
--- a/src/google/protobuf/stubs/common.h
+++ b/src/google/protobuf/stubs/common.h
@@ -231,18 +231,6 @@ class FatalException : public std::exception {
// in some versions of MSVC.
using std::string;
-// TODO(gerbens) remove once an extraction cycle has removed all references
-namespace internal {
-template <typename T>
-using scoped_ptr = std::unique_ptr<T>;
-template <typename T>
-using scoped_array = std::unique_ptr<T[]>;
-} // namespace internal
-template <typename T>
-using scoped_ptr = std::unique_ptr<T>;
-template <typename T>
-using scoped_array = std::unique_ptr<T[]>;
-
} // namespace protobuf
} // namespace google