diff options
author | Eric Fiselier <eric@efcs.ca> | 2015-08-19 17:37:34 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2015-08-19 17:37:34 +0000 |
commit | 92499e455eae105178ff7e084456b3205a310c54 (patch) | |
tree | 61724cd0d55a34d2e97659fd1ce7239ff3829bbb /libcxx/test/std/thread/thread.threads | |
parent | 0fc7892b772800b43c2f77ab0efb40f362af2584 (diff) | |
download | bcm5719-llvm-92499e455eae105178ff7e084456b3205a310c54.tar.gz bcm5719-llvm-92499e455eae105178ff7e084456b3205a310c54.zip |
Remove test_atomic.h header
Because <atomic> can now be used in C++03 there is no need for the test_atomic.h header.
This commit removes the header and converts all usages to use <atomic> instead.
llvm-svn: 245468
Diffstat (limited to 'libcxx/test/std/thread/thread.threads')
-rw-r--r-- | libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.member/detach.pass.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.member/detach.pass.cpp b/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.member/detach.pass.cpp index 3f59b192d6d..726395d9904 100644 --- a/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.member/detach.pass.cpp +++ b/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.member/detach.pass.cpp @@ -16,11 +16,10 @@ // void detach(); #include <thread> +#include <atomic> #include <cassert> -#include "test_atomic.h" - -AtomicBool done(false); +std::atomic_bool done(false); class G { |