diff options
Diffstat (limited to 'tests/auto/corelib/thread/qreadlocker/tst_qreadlocker.cpp')
-rw-r--r-- | tests/auto/corelib/thread/qreadlocker/tst_qreadlocker.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/corelib/thread/qreadlocker/tst_qreadlocker.cpp b/tests/auto/corelib/thread/qreadlocker/tst_qreadlocker.cpp index 241f064a21..8f0b182d05 100644 --- a/tests/auto/corelib/thread/qreadlocker/tst_qreadlocker.cpp +++ b/tests/auto/corelib/thread/qreadlocker/tst_qreadlocker.cpp @@ -109,7 +109,7 @@ void tst_QReadLocker::scopeTest() QVERIFY(thread->wait()); delete thread; - thread = 0; + thread = nullptr; } @@ -156,7 +156,7 @@ void tst_QReadLocker::unlockAndRelockTest() QVERIFY(thread->wait()); delete thread; - thread = 0; + thread = nullptr; } void tst_QReadLocker::lockerStateTest() @@ -196,7 +196,7 @@ void tst_QReadLocker::lockerStateTest() QVERIFY(thread->wait()); delete thread; - thread = 0; + thread = nullptr; } QTEST_MAIN(tst_QReadLocker) |