diff options
Diffstat (limited to 'src/mongo/db/repl/master_slave.cpp')
-rw-r--r-- | src/mongo/db/repl/master_slave.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/repl/master_slave.cpp b/src/mongo/db/repl/master_slave.cpp index fde2c24232c..2f269b625c5 100644 --- a/src/mongo/db/repl/master_slave.cpp +++ b/src/mongo/db/repl/master_slave.cpp @@ -74,7 +74,7 @@ #include "mongo/util/log.h" using boost::scoped_ptr; -using std::auto_ptr; +using std::unique_ptr; using std::cout; using std::endl; using std::max; @@ -269,7 +269,7 @@ namespace repl { // check that no items are in sources other than that // add if missing int n = 0; - auto_ptr<PlanExecutor> exec( + unique_ptr<PlanExecutor> exec( InternalPlanner::collectionScan(txn, localSources, ctx.db()->getCollection(localSources))); @@ -314,7 +314,7 @@ namespace repl { } } - auto_ptr<PlanExecutor> exec( + unique_ptr<PlanExecutor> exec( InternalPlanner::collectionScan(txn, localSources, ctx.db()->getCollection(localSources))); |