diff options
author | Thiago Macieira <thiago@kde.org> | 2011-07-05 23:52:29 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-20 10:05:49 +0200 |
commit | c7f8213bc59691f35f44a42fa5df602e742673c4 (patch) | |
tree | 5fefb18ddb9c00077a7f2c87c2892295913069c0 /tests | |
parent | e4b145d11cf3927a8ada445b6fef95fe29ac9946 (diff) |
Move the non-atomic and implicit functions from QBasicAtomicXXX
Now, users of QBasicAtomicInt and QBasicAtomicPointer must be sure to
use .load() and .store() to access the values.
Change-Id: I6b48ed175618baf387dd38d821bd50e6e93c082e
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/sql/kernel/qsqlthread/tst_qsqlthread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/sql/kernel/qsqlthread/tst_qsqlthread.cpp b/tests/auto/sql/kernel/qsqlthread/tst_qsqlthread.cpp index d39b69151c..79ebc93a80 100644 --- a/tests/auto/sql/kernel/qsqlthread/tst_qsqlthread.cpp +++ b/tests/auto/sql/kernel/qsqlthread/tst_qsqlthread.cpp @@ -363,7 +363,7 @@ void tst_QSqlThread::cleanupTestCase() void tst_QSqlThread::init() { threadFinishedCount = 0; - counter = 4; + counter.store(4); } void tst_QSqlThread::cleanup() |