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.condition/thread.condition.condvar | |
| 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.condition/thread.condition.condvar')
| -rw-r--r-- | libcxx/test/std/thread/thread.condition/thread.condition.condvar/notify_one.pass.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libcxx/test/std/thread/thread.condition/thread.condition.condvar/notify_one.pass.cpp b/libcxx/test/std/thread/thread.condition/thread.condition.condvar/notify_one.pass.cpp index 1341e90a885..e99ebee9c8e 100644 --- a/libcxx/test/std/thread/thread.condition/thread.condition.condvar/notify_one.pass.cpp +++ b/libcxx/test/std/thread/thread.condition/thread.condition.condvar/notify_one.pass.cpp @@ -16,17 +16,17 @@ // void notify_one(); #include <condition_variable> +#include <atomic> #include <mutex> #include <thread> #include <cassert> -#include "test_atomic.h" std::condition_variable cv; std::mutex mut; -AtomicInt test1(0); -AtomicInt test2(0); +std::atomic_int test1(0); +std::atomic_int test2(0); void f1() { |

