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.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/executor/connection_pool_test.cpp b/src/mongo/executor/connection_pool_test.cpp
index 24949a142c7..5f7cf6676da 100644
--- a/src/mongo/executor/connection_pool_test.cpp
+++ b/src/mongo/executor/connection_pool_test.cpp
@@ -30,9 +30,9 @@
#include "mongo/executor/connection_pool_test_fixture.h"
#include "mongo/executor/connection_pool.h"
-#include "mongo/unittest/unittest.h"
-#include "mongo/stdx/memory.h"
#include "mongo/stdx/future.h"
+#include "mongo/stdx/memory.h"
+#include "mongo/unittest/unittest.h"
namespace mongo {
namespace executor {
@@ -56,7 +56,7 @@ private:
};
#define CONN2ID(swConn) \
- [](StatusWith<ConnectionPool::ConnectionHandle> & swConn) { \
+ [](StatusWith<ConnectionPool::ConnectionHandle>& swConn) { \
ASSERT(swConn.isOK()); \
return static_cast<ConnectionImpl*>(swConn.getValue().get())->id(); \
}(swConn)