diff options
Diffstat (limited to 'src/mongo/dbtests/query_stage_ixscan.cpp')
-rw-r--r-- | src/mongo/dbtests/query_stage_ixscan.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/dbtests/query_stage_ixscan.cpp b/src/mongo/dbtests/query_stage_ixscan.cpp index e56ba1128f4..e6e78f8b824 100644 --- a/src/mongo/dbtests/query_stage_ixscan.cpp +++ b/src/mongo/dbtests/query_stage_ixscan.cpp @@ -181,7 +181,7 @@ namespace QueryStageIxscan { insert(fromjson("{_id: 2, x: 6}")); insert(fromjson("{_id: 3, x: 12}")); - boost::scoped_ptr<IndexScan> ixscan(createIndexScan(BSON("x" << 5), + std::unique_ptr<IndexScan> ixscan(createIndexScan(BSON("x" << 5), BSON("x" << 10), true, true)); @@ -220,7 +220,7 @@ namespace QueryStageIxscan { insert(fromjson("{_id: 2, x: 6}")); insert(fromjson("{_id: 3, x: 10}")); - boost::scoped_ptr<IndexScan> ixscan(createIndexScan(BSON("x" << 5), + std::unique_ptr<IndexScan> ixscan(createIndexScan(BSON("x" << 5), BSON("x" << 10), false, false)); @@ -255,7 +255,7 @@ namespace QueryStageIxscan { insert(fromjson("{_id: 2, x: 6}")); insert(fromjson("{_id: 3, x: 12}")); - boost::scoped_ptr<IndexScan> ixscan(createIndexScan(BSON("x" << 5), + std::unique_ptr<IndexScan> ixscan(createIndexScan(BSON("x" << 5), BSON("x" << 10), false, false)); @@ -287,7 +287,7 @@ namespace QueryStageIxscan { insert(fromjson("{_id: 2, x: 8}")); insert(fromjson("{_id: 3, x: 3}")); - boost::scoped_ptr<IndexScan> ixscan(createIndexScan(BSON("x" << 10), + std::unique_ptr<IndexScan> ixscan(createIndexScan(BSON("x" << 10), BSON("x" << 5), true, true, |