summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/sync_source_feedback.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/sync_source_feedback.h')
-rw-r--r--src/mongo/db/repl/sync_source_feedback.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/repl/sync_source_feedback.h b/src/mongo/db/repl/sync_source_feedback.h
index 054f6d6b183..40d22bddb5e 100644
--- a/src/mongo/db/repl/sync_source_feedback.h
+++ b/src/mongo/db/repl/sync_source_feedback.h
@@ -29,7 +29,6 @@
#pragma once
-#include <boost/scoped_ptr.hpp>
#include <boost/thread/mutex.hpp>
#include <boost/thread/condition.hpp>
@@ -82,7 +81,7 @@ namespace repl {
// the member we are currently syncing from
HostAndPort _syncTarget;
// our connection to our sync target
- boost::scoped_ptr<DBClientConnection> _connection;
+ std::unique_ptr<DBClientConnection> _connection;
// protects cond, _shutdownSignaled, and _positionChanged.
boost::mutex _mtx;
// used to alert our thread of changes which need to be passed up the chain