summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/idhack.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/exec/idhack.cpp')
-rw-r--r--src/mongo/db/exec/idhack.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/exec/idhack.cpp b/src/mongo/db/exec/idhack.cpp
index 196993562d2..22319c36e74 100644
--- a/src/mongo/db/exec/idhack.cpp
+++ b/src/mongo/db/exec/idhack.cpp
@@ -52,7 +52,7 @@ const char* IDHackStage::kStageType = "IDHACK";
IDHackStage::IDHackStage(ExpressionContext* expCtx,
CanonicalQuery* query,
WorkingSet* ws,
- const Collection* collection,
+ const CollectionPtr& collection,
const IndexDescriptor* descriptor)
: RequiresIndexStage(kStageType, expCtx, collection, descriptor, ws),
_workingSet(ws),
@@ -64,7 +64,7 @@ IDHackStage::IDHackStage(ExpressionContext* expCtx,
IDHackStage::IDHackStage(ExpressionContext* expCtx,
const BSONObj& key,
WorkingSet* ws,
- const Collection* collection,
+ const CollectionPtr& collection,
const IndexDescriptor* descriptor)
: RequiresIndexStage(kStageType, expCtx, collection, descriptor, ws),
_workingSet(ws),