summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/query_stage_ixscan.cpp
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2015-06-10 17:43:13 -0400
committerAndrew Morrow <acm@mongodb.com>2015-06-10 22:37:44 -0400
commita9b6612f5322f916298c19a6728817a1034c6aab (patch)
tree0da5b1ce36e6a8e2d85dbdeb49d505ac99bf6e1d /src/mongo/dbtests/query_stage_ixscan.cpp
parent0ec1e625760eb9c1a20a3dba78200e8f9ff28d9e (diff)
downloadmongo-a9b6612f5322f916298c19a6728817a1034c6aab.tar.gz
SERVER-17309 Replace std::auto_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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/dbtests/query_stage_ixscan.cpp b/src/mongo/dbtests/query_stage_ixscan.cpp
index e3f5f8877cc..e56ba1128f4 100644
--- a/src/mongo/dbtests/query_stage_ixscan.cpp
+++ b/src/mongo/dbtests/query_stage_ixscan.cpp
@@ -159,7 +159,7 @@ namespace QueryStageIxscan {
// Make the {x: 1} index multikey by inserting a doc where 'x' is an array.
insert(fromjson("{_id: 1, x: [1, 2, 3]}"));
- std::auto_ptr<IndexScan> ixscan(
+ std::unique_ptr<IndexScan> ixscan(
createIndexScanSimpleRange(BSON("x" << 1), BSON("x" << 3)));
// Verify that SpecificStats of 'ixscan' have been properly initialized.