diff options
Diffstat (limited to 'src/mongo/client/fetcher.h')
-rw-r--r-- | src/mongo/client/fetcher.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/client/fetcher.h b/src/mongo/client/fetcher.h index 78bbdc378b8..0a2abbd12fe 100644 --- a/src/mongo/client/fetcher.h +++ b/src/mongo/client/fetcher.h @@ -42,8 +42,8 @@ #include "mongo/db/clientcursor.h" #include "mongo/db/namespace_string.h" #include "mongo/executor/task_executor.h" -#include "mongo/stdx/condition_variable.h" -#include "mongo/stdx/mutex.h" +#include "mongo/platform/condition_variable.h" +#include "mongo/platform/mutex.h" #include "mongo/util/net/hostandport.h" namespace mongo { @@ -239,7 +239,7 @@ private: CallbackFn _work; // Protects member data of this Fetcher. - mutable stdx::mutex _mutex; + mutable Mutex _mutex = MONGO_MAKE_LATCH("Fetcher::_mutex"); mutable stdx::condition_variable _condition; |