summaryrefslogtreecommitdiff
path: root/src/mongo/util/unowned_ptr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/util/unowned_ptr.h')
-rw-r--r--src/mongo/util/unowned_ptr.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mongo/util/unowned_ptr.h b/src/mongo/util/unowned_ptr.h
index 7bc66dda59b..b2053d13da3 100644
--- a/src/mongo/util/unowned_ptr.h
+++ b/src/mongo/util/unowned_ptr.h
@@ -28,7 +28,6 @@
#pragma once
-#include <boost/shared_ptr.hpp>
#include <boost/static_assert.hpp>
#include <memory>
#include <type_traits>
@@ -71,9 +70,6 @@ namespace mongo {
template<typename U, typename = IfConvertibleFrom<U>>
unowned_ptr(const std::shared_ptr<U>& p) : _p(p.get()) {}
- template<typename U, typename = IfConvertibleFrom<U>>
- unowned_ptr(const boost::shared_ptr<U>& p) : _p(p.get()) {}
-
//
// Modifiers
//