diff options
author | clang-format-7.0.1 <adam.martin@10gen.com> | 2019-07-26 18:20:35 -0400 |
---|---|---|
committer | ADAM David Alan Martin <adam.martin@10gen.com> | 2019-07-27 11:02:23 -0400 |
commit | 134a4083953270e8a11430395357fb70a29047ad (patch) | |
tree | dd428e1230e31d92b20b393dfdc17ffe7fa79cb6 /src/mongo/client/replica_set_monitor_manager.cpp | |
parent | 1e46b5049003f427047e723ea5fab15b5a9253ca (diff) | |
download | mongo-134a4083953270e8a11430395357fb70a29047ad.tar.gz |
SERVER-41772 Apply clang-format 7.0.1 to the codebase
Diffstat (limited to 'src/mongo/client/replica_set_monitor_manager.cpp')
-rw-r--r-- | src/mongo/client/replica_set_monitor_manager.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/client/replica_set_monitor_manager.cpp b/src/mongo/client/replica_set_monitor_manager.cpp index fbf4d3a08d2..94aa109ad26 100644 --- a/src/mongo/client/replica_set_monitor_manager.cpp +++ b/src/mongo/client/replica_set_monitor_manager.cpp @@ -52,15 +52,15 @@ namespace mongo { -using std::shared_ptr; using std::set; +using std::shared_ptr; using std::string; using std::vector; using executor::NetworkInterface; using executor::NetworkInterfaceThreadPool; -using executor::TaskExecutorPool; using executor::TaskExecutor; +using executor::TaskExecutorPool; using executor::ThreadPoolTaskExecutor; ReplicaSetMonitorManager::ReplicaSetMonitorManager() {} @@ -98,7 +98,7 @@ namespace { void uassertNotMixingSSL(transport::ConnectSSLMode a, transport::ConnectSSLMode b) { uassert(51042, "Mixing ssl modes with a single replica set is disallowed", a == b); } -} +} // namespace shared_ptr<ReplicaSetMonitor> ReplicaSetMonitorManager::getOrCreateMonitor( const ConnectionString& connStr) { @@ -165,7 +165,7 @@ void ReplicaSetMonitorManager::shutdown() { } log() << "Dropping all ongoing scans against replica sets"; - for (auto & [ name, monitor ] : monitors) { + for (auto& [name, monitor] : monitors) { auto anchor = monitor.lock(); if (!anchor) { continue; |