summaryrefslogtreecommitdiff
path: root/src/mongo/client/sdam/topology_manager.cpp
diff options
context:
space:
mode:
authorDaniel Moody <daniel.moody@mongodb.com>2022-04-11 11:20:13 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-04-29 06:50:37 +0000
commit3e63636e66ced4aed6d1aaaafcdca7ae19cf96f2 (patch)
tree930ff9b35605d23d578933a45220f0fde6eff3be /src/mongo/client/sdam/topology_manager.cpp
parentf9e7b6d7de6270a5ed7bf79da40d31a78633ca2a (diff)
downloadmongo-3e63636e66ced4aed6d1aaaafcdca7ae19cf96f2.tar.gz
SERVER-65278 added clang-tidy v4 builder and fixed clang-tidy v4 issues.
Diffstat (limited to 'src/mongo/client/sdam/topology_manager.cpp')
-rw-r--r--src/mongo/client/sdam/topology_manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/client/sdam/topology_manager.cpp b/src/mongo/client/sdam/topology_manager.cpp
index abd0dfc5e5b..f52fcc32330 100644
--- a/src/mongo/client/sdam/topology_manager.cpp
+++ b/src/mongo/client/sdam/topology_manager.cpp
@@ -116,7 +116,7 @@ bool TopologyManagerImpl::onServerDescription(const HelloOutcome& helloOutcome)
return true;
}
-const std::shared_ptr<TopologyDescription> TopologyManagerImpl::getTopologyDescription() const {
+std::shared_ptr<TopologyDescription> TopologyManagerImpl::getTopologyDescription() const {
stdx::lock_guard<mongo::Mutex> lock(_mutex);
return _topologyDescription;
}