summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/canonical_query.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/query/canonical_query.h')
-rw-r--r--src/mongo/db/query/canonical_query.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mongo/db/query/canonical_query.h b/src/mongo/db/query/canonical_query.h
index b14fb29c233..365a06e4802 100644
--- a/src/mongo/db/query/canonical_query.h
+++ b/src/mongo/db/query/canonical_query.h
@@ -28,7 +28,6 @@
#pragma once
-#include <boost/scoped_ptr.hpp>
#include "mongo/base/status.h"
#include "mongo/db/dbmessage.h"
@@ -215,12 +214,12 @@ namespace mongo {
const MatchExpressionParser::WhereCallback& whereCallback,
MatchExpression* root);
- boost::scoped_ptr<LiteParsedQuery> _pq;
+ std::unique_ptr<LiteParsedQuery> _pq;
// _root points into _pq->getFilter()
- boost::scoped_ptr<MatchExpression> _root;
+ std::unique_ptr<MatchExpression> _root;
- boost::scoped_ptr<ParsedProjection> _proj;
+ std::unique_ptr<ParsedProjection> _proj;
};
} // namespace mongo