From 67952fab2c766ac5eacc15bb78e5af4039a3d398 Mon Sep 17 00:00:00 2001 From: Adam Cozzette Date: Wed, 14 Mar 2018 11:17:48 -0700 Subject: 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. --- src/google/protobuf/stubs/common.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/google/protobuf/stubs/common.h') 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 -using scoped_ptr = std::unique_ptr; -template -using scoped_array = std::unique_ptr; -} // namespace internal -template -using scoped_ptr = std::unique_ptr; -template -using scoped_array = std::unique_ptr; - } // namespace protobuf } // namespace google -- cgit v1.2.3