diff options
author | Mathias Stearn <mathias@10gen.com> | 2019-03-21 19:01:26 -0400 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2019-04-11 18:38:43 -0400 |
commit | f0f894395d2676c5b93fc99a978970f0ffce8127 (patch) | |
tree | 14621a1b7d22728a4e644288019de848b9d87e28 /src/mongo/client/remote_command_targeter_standalone.h | |
parent | 342e6f115ee06cfa226a3c3006f87d9bd50bda8e (diff) | |
download | mongo-f0f894395d2676c5b93fc99a978970f0ffce8127.tar.gz |
SERVER-36359 Introduce SemiFuture<T> and ExecutorFuture<T>
Diffstat (limited to 'src/mongo/client/remote_command_targeter_standalone.h')
-rw-r--r-- | src/mongo/client/remote_command_targeter_standalone.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/client/remote_command_targeter_standalone.h b/src/mongo/client/remote_command_targeter_standalone.h index 176da90caae..22a07642274 100644 --- a/src/mongo/client/remote_command_targeter_standalone.h +++ b/src/mongo/client/remote_command_targeter_standalone.h @@ -47,8 +47,8 @@ public: StatusWith<HostAndPort> findHost(OperationContext* opCtx, const ReadPreferenceSetting& readPref) override; - SharedSemiFuture<HostAndPort> findHostWithMaxWait(const ReadPreferenceSetting& readPref, - Milliseconds maxWait) override; + SemiFuture<HostAndPort> findHostWithMaxWait(const ReadPreferenceSetting& readPref, + Milliseconds maxWait) override; void markHostNotMaster(const HostAndPort& host, const Status& status) override; |