summaryrefslogtreecommitdiff
path: root/src/mongo/util/concurrency/spin_lock_test.cpp
diff options
context:
space:
mode:
authorAndy Schwerin <schwerin@mongodb.com>2014-05-15 19:28:57 -0400
committerAndy Schwerin <schwerin@mongodb.com>2014-05-16 16:01:50 -0400
commit995c04a16090511692c67a3555bdb61b5a387fa1 (patch)
treed60126db86cff5ca377152bb6a6c4e0439c9d932 /src/mongo/util/concurrency/spin_lock_test.cpp
parent864d86ad02e3de2149b4f80949d66a03cff061d1 (diff)
downloadmongo-995c04a16090511692c67a3555bdb61b5a387fa1.tar.gz
SERVER-13882 Replace boost::function with stdx::function and boost::bind with stdx::bind.
Diffstat (limited to 'src/mongo/util/concurrency/spin_lock_test.cpp')
-rw-r--r--src/mongo/util/concurrency/spin_lock_test.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/util/concurrency/spin_lock_test.cpp b/src/mongo/util/concurrency/spin_lock_test.cpp
index 9a7d9541220..75ec3cf9e24 100644
--- a/src/mongo/util/concurrency/spin_lock_test.cpp
+++ b/src/mongo/util/concurrency/spin_lock_test.cpp
@@ -28,6 +28,7 @@
#include <boost/thread/thread.hpp>
+#include "mongo/stdx/functional.h"
#include "mongo/unittest/unittest.h"
#include "mongo/util/concurrency/spin_lock.h"
#include "mongo/util/timer.h"
@@ -47,7 +48,7 @@ namespace {
}
void start( int increments ) {
- _t = new boost::thread( boost::bind(&LockTester::test, this, increments) );
+ _t = new boost::thread( mongo::stdx::bind(&LockTester::test, this, increments) );
}
void join() {