summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/query_stage_collscan.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/dbtests/query_stage_collscan.cpp')
-rw-r--r--src/mongo/dbtests/query_stage_collscan.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/dbtests/query_stage_collscan.cpp b/src/mongo/dbtests/query_stage_collscan.cpp
index ab6ea366ea9..ffb204c2623 100644
--- a/src/mongo/dbtests/query_stage_collscan.cpp
+++ b/src/mongo/dbtests/query_stage_collscan.cpp
@@ -50,7 +50,7 @@
namespace QueryStageCollectionScan {
using boost::scoped_ptr;
- using std::auto_ptr;
+ using std::unique_ptr;
using std::vector;
//
@@ -90,7 +90,7 @@ namespace QueryStageCollectionScan {
// Make the filter.
StatusWithMatchExpression swme = MatchExpressionParser::parse(filterObj);
verify(swme.isOK());
- auto_ptr<MatchExpression> filterExpr(swme.getValue());
+ unique_ptr<MatchExpression> filterExpr(swme.getValue());
// Make a scan and have the runner own it.
WorkingSet* ws = new WorkingSet();