summaryrefslogtreecommitdiff
path: root/src/mongo/s/client/shard_registry.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/client/shard_registry.h')
-rw-r--r--src/mongo/s/client/shard_registry.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/s/client/shard_registry.h b/src/mongo/s/client/shard_registry.h
index 5bd91b42098..a5fd0366049 100644
--- a/src/mongo/s/client/shard_registry.h
+++ b/src/mongo/s/client/shard_registry.h
@@ -30,12 +30,12 @@
#include <boost/optional.hpp>
#include <memory>
-#include <mutex>
#include <string>
#include <vector>
#include "mongo/base/disallow_copying.h"
#include "mongo/s/client/shard.h"
+#include "mongo/stdx/mutex.h"
namespace mongo {
@@ -172,7 +172,7 @@ private:
CatalogManager* const _catalogManager;
// Protects the maps below
- mutable std::mutex _mutex;
+ mutable stdx::mutex _mutex;
// Map of both shardName -> Shard and hostName -> Shard
ShardMap _lookup;