summaryrefslogtreecommitdiff
path: root/src/mongo/db/repair_database.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repair_database.cpp')
-rw-r--r--src/mongo/db/repair_database.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mongo/db/repair_database.cpp b/src/mongo/db/repair_database.cpp
index fccf3ef21e3..80963f123b7 100644
--- a/src/mongo/db/repair_database.cpp
+++ b/src/mongo/db/repair_database.cpp
@@ -32,7 +32,6 @@
#include "mongo/db/repair_database.h"
-#include <boost/scoped_ptr.hpp>
#include "mongo/db/background.h"
#include "mongo/base/status.h"
@@ -85,8 +84,8 @@ namespace {
// Skip the rest if there are no indexes to rebuild.
if (indexSpecs.empty()) return Status::OK();
- boost::scoped_ptr<Collection> collection;
- boost::scoped_ptr<MultiIndexBlock> indexer;
+ std::unique_ptr<Collection> collection;
+ std::unique_ptr<MultiIndexBlock> indexer;
{
// These steps are combined into a single WUOW to ensure there are no commits without
// the indexes.