summaryrefslogtreecommitdiff
path: root/src/mongo/db/operation_context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/operation_context.cpp')
-rw-r--r--src/mongo/db/operation_context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/operation_context.cpp b/src/mongo/db/operation_context.cpp
index c17d9c2d7b3..24c92e19f6b 100644
--- a/src/mongo/db/operation_context.cpp
+++ b/src/mongo/db/operation_context.cpp
@@ -80,7 +80,7 @@ OperationContext::OperationContext(Client* client, OperationIdSlot&& opIdSlot)
: _client(client),
_opId(std::move(opIdSlot)),
_elapsedTime(client ? client->getServiceContext()->getTickSource()
- : SystemTickSource::get()) {}
+ : globalSystemTickSource()) {}
OperationContext::~OperationContext() {
releaseOperationKey();