diff options
Diffstat (limited to 'src/mongo/db/process_health/config_server_health_observer.cpp')
-rw-r--r-- | src/mongo/db/process_health/config_server_health_observer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/process_health/config_server_health_observer.cpp b/src/mongo/db/process_health/config_server_health_observer.cpp index 5e8a9ada390..bf011d28472 100644 --- a/src/mongo/db/process_health/config_server_health_observer.cpp +++ b/src/mongo/db/process_health/config_server_health_observer.cpp @@ -87,7 +87,7 @@ public: * previous one is filled, thus synchronization can be relaxed. */ Future<HealthCheckStatus> periodicCheckImpl( - PeriodicHealthCheckContext&& periodicCheckContext) noexcept override; + PeriodicHealthCheckContext&& periodicCheckContext) override; private: // Collects the results of one check. @@ -146,7 +146,7 @@ ConfigServerHealthObserver::ConfigServerHealthObserver(ServiceContext* svcCtx) : HealthObserverBase(svcCtx) {} Future<HealthCheckStatus> ConfigServerHealthObserver::periodicCheckImpl( - PeriodicHealthCheckContext&& periodicCheckContext) noexcept { + PeriodicHealthCheckContext&& periodicCheckContext) { // The chain is not capturing 'this' for the case the network call outlives the observer. return _checkImpl(std::move(periodicCheckContext)) .then([type = getType()](CheckResult result) mutable -> Future<HealthCheckStatus> { |