diff options
author | Ben Caimano <ben.caimano@mongodb.com> | 2019-12-09 20:35:12 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-12-09 20:35:12 +0000 |
commit | 64a9f0dcc098a8d6e0c3a381d56acee9909c3e58 (patch) | |
tree | 36811bc7f4a348ff843811c803cc435a86924cb3 /src/mongo/client | |
parent | 3dab501342b0fdec352dd8221ce470c930ffc91e (diff) | |
download | mongo-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.h | 2 |
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; |