diff options
Diffstat (limited to 'src/mongo/executor/connection_pool.cpp')
-rw-r--r-- | src/mongo/executor/connection_pool.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/executor/connection_pool.cpp b/src/mongo/executor/connection_pool.cpp index 3c4454110c4..e55f9830394 100644 --- a/src/mongo/executor/connection_pool.cpp +++ b/src/mongo/executor/connection_pool.cpp @@ -183,8 +183,8 @@ public: /** * Atomically manipulate the tags in the pool */ - void mutateTags(const stdx::function<transport::Session::TagMask(transport::Session::TagMask)>& - mutateFunc) { + void mutateTags( + const std::function<transport::Session::TagMask(transport::Session::TagMask)>& mutateFunc) { _tags = mutateFunc(_tags); } @@ -365,7 +365,7 @@ void ConnectionPool::dropConnections(transport::Session::TagMask tags) { void ConnectionPool::mutateTags( const HostAndPort& hostAndPort, - const stdx::function<transport::Session::TagMask(transport::Session::TagMask)>& mutateFunc) { + const std::function<transport::Session::TagMask(transport::Session::TagMask)>& mutateFunc) { stdx::lock_guard lk(_mutex); auto iter = _pools.find(hostAndPort); |