From 062fe2661d2457b2ae200c11709175f9d9f2b2a3 Mon Sep 17 00:00:00 2001 From: Davide Beatrici Date: Sun, 15 Sep 2019 02:18:15 +0200 Subject: Remove QAtomicInt compatibility layer Qt 4: https://doc.qt.io/archives/qt-4.8/qatomicint.html Qt 5: https://doc.qt.io/qt-5/qatomicint.html --- src/tests/TestSSLLocks/TestSSLLocks.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/tests') diff --git a/src/tests/TestSSLLocks/TestSSLLocks.cpp b/src/tests/TestSSLLocks/TestSSLLocks.cpp index 7b9cc41a2..289138ea4 100644 --- a/src/tests/TestSSLLocks/TestSSLLocks.cpp +++ b/src/tests/TestSSLLocks/TestSSLLocks.cpp @@ -7,7 +7,6 @@ #include #include "SSL.h" -#include "QAtomicIntCompat.h" #include @@ -30,7 +29,7 @@ public: void run() { unsigned char buf[64]; - while (QAtomicIntLoad(*m_running) == 1) { + while (m_running->load() == 1) { for (int i = 0; i < 1024; i++) { if (m_seed) { RAND_seed(buf, sizeof(buf)); -- cgit v1.2.3