summaryrefslogtreecommitdiff
path: root/src/mongo/client/connection_string_connect.cpp
diff options
context:
space:
mode:
authorAdam Midvidy <amidvidy@gmail.com>2015-06-17 10:27:13 -0400
committerAdam Midvidy <amidvidy@gmail.com>2015-06-17 13:32:39 -0400
commit449e0f2b47e32060433cb6f68d967ea53c8573d1 (patch)
tree6e857f03a636b34ad8710e0b3e35a9115523483b /src/mongo/client/connection_string_connect.cpp
parentcbc69e7dcb875b35e161875317bca701b48c770c (diff)
downloadmongo-449e0f2b47e32060433cb6f68d967ea53c8573d1.tar.gz
SERVER-18723 boost -> stdx for mutex, unique_lock, and lock_guard
Diffstat (limited to 'src/mongo/client/connection_string_connect.cpp')
-rw-r--r--src/mongo/client/connection_string_connect.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/client/connection_string_connect.cpp b/src/mongo/client/connection_string_connect.cpp
index 599c0a5f189..2b4b6a06df3 100644
--- a/src/mongo/client/connection_string_connect.cpp
+++ b/src/mongo/client/connection_string_connect.cpp
@@ -43,7 +43,7 @@
namespace mongo {
- boost::mutex ConnectionString::_connectHookMutex;
+ stdx::mutex ConnectionString::_connectHookMutex;
ConnectionString::ConnectionHook* ConnectionString::_connectHook = NULL;
DBClientBase* ConnectionString::connect( std::string& errmsg, double socketTimeout ) const {
@@ -82,7 +82,7 @@ namespace mongo {
case CUSTOM: {
// Lock in case other things are modifying this at the same time
- boost::lock_guard<boost::mutex> lk( _connectHookMutex );
+ stdx::lock_guard<stdx::mutex> lk( _connectHookMutex );
// Allow the replacement of connections with other connections - useful for testing.