summaryrefslogtreecommitdiff
path: root/src/mongo/db/ops/modifier_pull_all.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/ops/modifier_pull_all.h')
-rw-r--r--src/mongo/db/ops/modifier_pull_all.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/ops/modifier_pull_all.h b/src/mongo/db/ops/modifier_pull_all.h
index bdc96b18b74..fef6c7b03f3 100644
--- a/src/mongo/db/ops/modifier_pull_all.h
+++ b/src/mongo/db/ops/modifier_pull_all.h
@@ -28,7 +28,6 @@
#pragma once
-#include <boost/scoped_ptr.hpp>
#include <string>
#include "mongo/base/disallow_copying.h"
@@ -78,7 +77,7 @@ namespace mongo {
// The instance of the field in the provided doc.
// This data is valid after prepare, for use by log and apply
struct PreparedState;
- boost::scoped_ptr<PreparedState> _preparedState;
+ std::unique_ptr<PreparedState> _preparedState;
// User specified elements to remove
std::vector<BSONElement> _elementsToFind;