summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/deferred_writer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/dbtests/deferred_writer.cpp')
-rw-r--r--src/mongo/dbtests/deferred_writer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/dbtests/deferred_writer.cpp b/src/mongo/dbtests/deferred_writer.cpp
index 07ae48ebd2c..d45d9bedaa2 100644
--- a/src/mongo/dbtests/deferred_writer.cpp
+++ b/src/mongo/dbtests/deferred_writer.cpp
@@ -119,7 +119,7 @@ public:
auto plan = InternalPlanner::collectionScan(_opCtx.get(),
kTestNamespace.ns(),
- agc.getCollection(),
+ &agc.getCollection(),
PlanYieldPolicy::YieldPolicy::NO_YIELD);
std::vector<BSONObj> result;