diff options
author | Andrew Morrow <acm@mongodb.com> | 2015-01-04 12:23:38 -0500 |
---|---|---|
committer | Andrew Morrow <acm@mongodb.com> | 2015-01-05 18:52:20 -0500 |
commit | e782819da4ce547272c653ec85984cacf5e60ff2 (patch) | |
tree | 4ed2ffdbe2c74634ed836cde991a2bdd2c9f7bf9 /src/mongo/db/exec/index_scan.h | |
parent | 0c4d932be42022627cd1e8a826fc69cd3edac23f (diff) | |
download | mongo-e782819da4ce547272c653ec85984cacf5e60ff2.tar.gz |
SERVER-13256 Remove scoped_ptr from pch.h
Diffstat (limited to 'src/mongo/db/exec/index_scan.h')
-rw-r--r-- | src/mongo/db/exec/index_scan.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/db/exec/index_scan.h b/src/mongo/db/exec/index_scan.h index 54481c77ff1..088d33c5dda 100644 --- a/src/mongo/db/exec/index_scan.h +++ b/src/mongo/db/exec/index_scan.h @@ -28,6 +28,8 @@ #pragma once +#include <boost/scoped_ptr.hpp> + #include "mongo/db/exec/plan_stage.h" #include "mongo/db/index/btree_index_cursor.h" #include "mongo/db/index/index_access_method.h" @@ -141,7 +143,7 @@ namespace mongo { // Index access. const IndexAccessMethod* _iam; // owned by Collection -> IndexCatalog - scoped_ptr<IndexCursor> _indexCursor; + boost::scoped_ptr<IndexCursor> _indexCursor; BSONObj _keyPattern; // Keeps track of what work we need to do next. @@ -163,7 +165,7 @@ namespace mongo { IndexScanParams _params; // For our "fast" Btree-only navigation AKA the index bounds optimization. - scoped_ptr<IndexBoundsChecker> _checker; + boost::scoped_ptr<IndexBoundsChecker> _checker; BtreeIndexCursor* _btreeCursor; int _keyEltsToUse; bool _movePastKeyElts; |