summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/query_stage_ixscan.cpp
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2015-06-10 18:08:48 -0400
committerAndrew Morrow <acm@mongodb.com>2015-06-10 22:37:49 -0400
commitd7d1fdb75966c684e9a42150e6e9b69c4a10ee08 (patch)
treed28b0767cbd8c1a09535f1676152e7ac57e829ce /src/mongo/dbtests/query_stage_ixscan.cpp
parenta9b6612f5322f916298c19a6728817a1034c6aab (diff)
downloadmongo-d7d1fdb75966c684e9a42150e6e9b69c4a10ee08.tar.gz
SERVER-17308 Replace boost::scoped_ptr<T> with std::unique_ptr<T>
Diffstat (limited to 'src/mongo/dbtests/query_stage_ixscan.cpp')
-rw-r--r--src/mongo/dbtests/query_stage_ixscan.cpp8
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,