diff options
Diffstat (limited to 'src/mongo/s/strategy.cpp')
-rw-r--r-- | src/mongo/s/strategy.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mongo/s/strategy.cpp b/src/mongo/s/strategy.cpp index 7839d0cb85c..5fa32cba9bd 100644 --- a/src/mongo/s/strategy.cpp +++ b/src/mongo/s/strategy.cpp @@ -32,7 +32,6 @@ #include "mongo/s/strategy.h" -#include <boost/scoped_ptr.hpp> #include "mongo/base/status.h" #include "mongo/base/owned_pointer_vector.h" @@ -70,7 +69,7 @@ namespace mongo { - using boost::scoped_ptr; + using std::unique_ptr; using boost::shared_ptr; using std::endl; using std::set; @@ -241,7 +240,7 @@ namespace mongo { // Only one shard is used // Remote cursors are stored remotely, we shouldn't need this around. - scoped_ptr<ParallelSortClusteredCursor> cursorDeleter( cursor ); + unique_ptr<ParallelSortClusteredCursor> cursorDeleter( cursor ); ShardPtr shard = cursor->getQueryShard(); verify( shard.get() ); |