diff options
Diffstat (limited to 'src/mongo/db/service_context.cpp')
-rw-r--r-- | src/mongo/db/service_context.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/service_context.cpp b/src/mongo/db/service_context.cpp index 1a6f3751096..075fafd7360 100644 --- a/src/mongo/db/service_context.cpp +++ b/src/mongo/db/service_context.cpp @@ -148,15 +148,15 @@ TickSource* ServiceContext::getTickSource() const { } ClockSource* ServiceContext::getPreciseClockSource() const { - return _clockSource.get(); + return _preciseClockSource.get(); } void ServiceContext::setTickSource(std::unique_ptr<TickSource> newSource) { _tickSource = std::move(newSource); } -void ServiceContext::setClockSource(std::unique_ptr<ClockSource> newSource) { - _clockSource = std::move(newSource); +void ServiceContext::setPreciseClockSource(std::unique_ptr<ClockSource> newSource) { + _preciseClockSource = std::move(newSource); } void ServiceContext::ClientDeleter::operator()(Client* client) const { |