diff options
Diffstat (limited to 'src/mongo/dbtests/replica_set_monitor_test.cpp')
-rw-r--r-- | src/mongo/dbtests/replica_set_monitor_test.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mongo/dbtests/replica_set_monitor_test.cpp b/src/mongo/dbtests/replica_set_monitor_test.cpp index 33d489b2973..12b814f4ad2 100644 --- a/src/mongo/dbtests/replica_set_monitor_test.cpp +++ b/src/mongo/dbtests/replica_set_monitor_test.cpp @@ -35,7 +35,6 @@ #include "mongo/dbtests/mock/mock_replica_set.h" #include "mongo/unittest/unittest.h" -#include <boost/scoped_ptr.hpp> #include <set> #include <vector> @@ -47,7 +46,7 @@ namespace { using std::vector; using std::set; using std::string; - using boost::scoped_ptr; + using std::unique_ptr; // TODO: Port these existing tests here: replmonitor_bad_seed.js, repl_monitor_refresh.js @@ -77,7 +76,7 @@ namespace { private: ConnectionString::ConnectionHook* _originalConnectionHook; - boost::scoped_ptr<MockReplicaSet> _replSet; + std::unique_ptr<MockReplicaSet> _replSet; }; TEST_F(ReplicaSetMonitorTest, SeedWithPriOnlySecDown) { @@ -245,7 +244,7 @@ namespace { private: ConnectionString::ConnectionHook* _originalConnectionHook; - boost::scoped_ptr<MockReplicaSet> _replSet; + std::unique_ptr<MockReplicaSet> _replSet; }; // Tests the case where the connection to secondary went bad and the replica set |