summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/query_stage_count.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/dbtests/query_stage_count.cpp')
-rw-r--r--src/mongo/dbtests/query_stage_count.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/dbtests/query_stage_count.cpp b/src/mongo/dbtests/query_stage_count.cpp
index d2bca4701a4..7adc5b6996f 100644
--- a/src/mongo/dbtests/query_stage_count.cpp
+++ b/src/mongo/dbtests/query_stage_count.cpp
@@ -44,7 +44,7 @@
namespace QueryStageCount {
using boost::scoped_ptr;
- using std::auto_ptr;
+ using std::unique_ptr;
using std::vector;
const int kDocuments = 100;
@@ -147,10 +147,10 @@ namespace QueryStageCount {
setup();
getLocs();
- auto_ptr<WorkingSet> ws(new WorkingSet);
+ unique_ptr<WorkingSet> ws(new WorkingSet);
StatusWithMatchExpression swme = MatchExpressionParser::parse(request.query);
- auto_ptr<MatchExpression> expression(swme.getValue());
+ unique_ptr<MatchExpression> expression(swme.getValue());
PlanStage* scan;
if (indexed) {