summaryrefslogtreecommitdiff
path: root/src/mongo/executor/connection_pool_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/executor/connection_pool_test.cpp')
-rw-r--r--src/mongo/executor/connection_pool_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/executor/connection_pool_test.cpp b/src/mongo/executor/connection_pool_test.cpp
index cd2ca6db149..ccb7af42fd0 100644
--- a/src/mongo/executor/connection_pool_test.cpp
+++ b/src/mongo/executor/connection_pool_test.cpp
@@ -117,7 +117,7 @@ TEST_F(ConnectionPoolTest, ConnectionsAreAcquiredInMRUOrder) {
// to the pool by destroying the 'connections' vector. Otherwise,
// this test would cause an invariant failure instead of a normal
// test failure if it fails, which would be confusing.
- const auto guard = MakeGuard([&] {
+ const auto guard = makeGuard([&] {
while (!connections.empty()) {
try {
ConnectionPool::ConnectionHandle conn = std::move(connections.back());
@@ -190,7 +190,7 @@ TEST_F(ConnectionPoolTest, ConnectionsNotUsedRecentlyArePurged) {
// to the pool by destroying the 'connections' vector. Otherwise,
// this test would cause an invariant failure instead of a normal
// test failure if it fails, which would be confusing.
- const auto guard = MakeGuard([&] {
+ const auto guard = makeGuard([&] {
while (!connections.empty()) {
try {
ConnectionPool::ConnectionHandle conn = std::move(connections.back());