summaryrefslogtreecommitdiff
path: root/src/mongo/client
diff options
context:
space:
mode:
authorBen Caimano <ben.caimano@mongodb.com>2019-12-09 20:35:12 +0000
committerevergreen <evergreen@mongodb.com>2019-12-09 20:35:12 +0000
commit64a9f0dcc098a8d6e0c3a381d56acee9909c3e58 (patch)
tree36811bc7f4a348ff843811c803cc435a86924cb3 /src/mongo/client
parent3dab501342b0fdec352dd8221ce470c930ffc91e (diff)
downloadmongo-64a9f0dcc098a8d6e0c3a381d56acee9909c3e58.tar.gz
SERVER-45027 Use more descriptive names for MONGO_MAKE_LATCH() invocations
Diffstat (limited to 'src/mongo/client')
-rw-r--r--src/mongo/client/sdam/topology_manager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/client/sdam/topology_manager.h b/src/mongo/client/sdam/topology_manager.h
index f52729b0946..292d48b6e8e 100644
--- a/src/mongo/client/sdam/topology_manager.h
+++ b/src/mongo/client/sdam/topology_manager.h
@@ -65,7 +65,7 @@ public:
const TopologyDescriptionPtr getTopologyDescription() const;
private:
- mutable mongo::Mutex _mutex = mongo::Mutex(StringData("TopologyManager"));
+ mutable mongo::Mutex _mutex = MONGO_MAKE_LATCH("TopologyManager");
const SdamConfiguration _config;
ClockSource* _clockSource;
std::shared_ptr<TopologyDescription> _topologyDescription;