summaryrefslogtreecommitdiff
path: root/src/mongo/db/op_observer_impl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/op_observer_impl.cpp')
-rw-r--r--src/mongo/db/op_observer_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/op_observer_impl.cpp b/src/mongo/db/op_observer_impl.cpp
index c60c94617b3..c3cfded11b7 100644
--- a/src/mongo/db/op_observer_impl.cpp
+++ b/src/mongo/db/op_observer_impl.cpp
@@ -481,7 +481,7 @@ void OpObserverImpl::aboutToDelete(OperationContext* opCtx,
BSONObj const& doc) {
auto& deleteState = getDeleteState(opCtx);
auto* css = CollectionShardingState::get(opCtx, nss);
- deleteState = css->makeDeleteState(doc);
+ deleteState = css->makeDeleteState(opCtx, doc);
}
void OpObserverImpl::onDelete(OperationContext* opCtx,