summaryrefslogtreecommitdiff
path: root/src/mongo/db/client.cpp
diff options
context:
space:
mode:
authorAndy Schwerin <schwerin@mongodb.com>2015-05-18 16:11:40 -0400
committerAndy Schwerin <schwerin@mongodb.com>2015-05-19 17:00:05 -0400
commit9ab64834372d7d4c651bd41496f98afb7f44fbf7 (patch)
tree9240ed23acdfb0d6b98e370a00d647ba1f6e5ae1 /src/mongo/db/client.cpp
parent2bd10ab22e77234c04b0ac42fe5cbc7539423985 (diff)
downloadmongo-9ab64834372d7d4c651bd41496f98afb7f44fbf7.tar.gz
SERVER-17310 Provide stdx polyfill for std::this_thread. Stop using boost::this_thread.
Diffstat (limited to 'src/mongo/db/client.cpp')
-rw-r--r--src/mongo/db/client.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/client.cpp b/src/mongo/db/client.cpp
index a2e510f4bb0..f323bcfe02c 100644
--- a/src/mongo/db/client.cpp
+++ b/src/mongo/db/client.cpp
@@ -42,6 +42,7 @@
#include "mongo/base/status.h"
#include "mongo/db/lasterror.h"
#include "mongo/db/service_context.h"
+#include "mongo/stdx/thread.h"
#include "mongo/util/concurrency/thread_name.h"
#include "mongo/util/exit.h"
#include "mongo/util/mongoutils/str.h"
@@ -93,7 +94,7 @@ namespace mongo {
AbstractMessagingPort *p)
: ClientBasic(serviceContext, p),
_desc(std::move(desc)),
- _threadId(boost::this_thread::get_id()),
+ _threadId(stdx::this_thread::get_id()),
_connectionId(p ? p->connectionId() : 0) {
}