diff options
author | Andrew Morrow <acm@mongodb.com> | 2015-06-10 18:08:48 -0400 |
---|---|---|
committer | Andrew Morrow <acm@mongodb.com> | 2015-06-10 22:37:49 -0400 |
commit | d7d1fdb75966c684e9a42150e6e9b69c4a10ee08 (patch) | |
tree | d28b0767cbd8c1a09535f1676152e7ac57e829ce /src/mongo/util/unowned_ptr.h | |
parent | a9b6612f5322f916298c19a6728817a1034c6aab (diff) | |
download | mongo-d7d1fdb75966c684e9a42150e6e9b69c4a10ee08.tar.gz |
SERVER-17308 Replace boost::scoped_ptr<T> with std::unique_ptr<T>
Diffstat (limited to 'src/mongo/util/unowned_ptr.h')
-rw-r--r-- | src/mongo/util/unowned_ptr.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mongo/util/unowned_ptr.h b/src/mongo/util/unowned_ptr.h index 3bbba13b0f6..7bc66dda59b 100644 --- a/src/mongo/util/unowned_ptr.h +++ b/src/mongo/util/unowned_ptr.h @@ -28,7 +28,6 @@ #pragma once -#include <boost/scoped_ptr.hpp> #include <boost/shared_ptr.hpp> #include <boost/static_assert.hpp> #include <memory> @@ -75,9 +74,6 @@ namespace mongo { template<typename U, typename = IfConvertibleFrom<U>> unowned_ptr(const boost::shared_ptr<U>& p) : _p(p.get()) {} - template<typename U, typename = IfConvertibleFrom<U>> - unowned_ptr(const boost::scoped_ptr<U>& p) : _p(p.get()) {} - // // Modifiers // |