From f8aa3ee7621758b35ba52a5b17972fa4144710ae Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 11 Jan 2013 03:35:17 +0000 Subject: Use C++11 atomics. git-svn-id: http://svn.drobilla.net/lad/trunk/raul@4916 a436a847-0d15-0410-975c-d299462d15a1 --- test/thread_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/thread_test.cpp') diff --git a/test/thread_test.cpp b/test/thread_test.cpp index f823936..f59894f 100644 --- a/test/thread_test.cpp +++ b/test/thread_test.cpp @@ -14,9 +14,9 @@ along with Raul. If not, see . */ +#include #include -#include "raul/AtomicInt.hpp" #include "raul/Semaphore.hpp" #include "raul/Thread.hpp" #include "raul/ThreadVar.hpp" @@ -25,7 +25,7 @@ using namespace std; using namespace Raul; Raul::ThreadVar var(0); -Raul::AtomicInt n_errors(0); +std::atomic n_errors(0); class Waiter : public Raul::Thread { public: -- cgit v1.2.1