diff options
Diffstat (limited to 'test/thread_test.cpp')
-rw-r--r-- | test/thread_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 <http://www.gnu.org/licenses/>. */ +#include <atomic> #include <iostream> -#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<int> var(0); -Raul::AtomicInt n_errors(0); +std::atomic<int> n_errors(0); class Waiter : public Raul::Thread { public: |