diff options
author | Andrew Morrow <acm@mongodb.com> | 2015-10-27 09:26:21 -0400 |
---|---|---|
committer | Andrew Morrow <acm@mongodb.com> | 2015-10-27 09:31:35 -0400 |
commit | 90607c08ebb7dc7d6730b2d932ff06b3cef01c12 (patch) | |
tree | ca983e0b7b2791384c5e3ee4a4479f24f8d9e81e /src/mongo/platform | |
parent | bc0704481b68db6d3116eb2692088f73759d776a (diff) | |
download | mongo-90607c08ebb7dc7d6730b2d932ff06b3cef01c12.tar.gz |
SERVER-19614 fix lint
Diffstat (limited to 'src/mongo/platform')
-rw-r--r-- | src/mongo/platform/stack_locator_test.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mongo/platform/stack_locator_test.cpp b/src/mongo/platform/stack_locator_test.cpp index 356b726135e..98d9a412f98 100644 --- a/src/mongo/platform/stack_locator_test.cpp +++ b/src/mongo/platform/stack_locator_test.cpp @@ -28,9 +28,8 @@ #include "mongo/platform/basic.h" -#include <thread> - #include "mongo/platform/stack_locator.h" +#include "mongo/stdx/thread.h" #include "mongo/unittest/unittest.h" namespace mongo { @@ -75,7 +74,7 @@ TEST(StackLocator, StacksGrowsDown) { TEST(StackLocator, StackLocatorFindsStackOfStdThread) { bool foundBounds = false; - std::thread thr([&] { + stdx::thread thr([&] { const StackLocator locator; auto avail = locator.available(); foundBounds = static_cast<bool>(avail); |