summaryrefslogtreecommitdiffstats
path: root/tests/auto/concurrent
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2021-02-01 10:24:10 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2021-02-02 12:06:05 +0100
commitbde773ec6a0d9319bd8cebf138513afd79c2eef7 (patch)
tree9cfb89a31d66b6f8849ad0e37d2aee9572cf6a67 /tests/auto/concurrent
parentfce101913313f7705831bb5de10dbbab46e5b3a0 (diff)
Fix a few compiler warnings in tests
Change-Id: I22f6ac8ed02dd4ef4083ce3c781552623a0b08da Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'tests/auto/concurrent')
-rw-r--r--tests/auto/concurrent/qtconcurrentthreadengine/tst_qtconcurrentthreadengine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/concurrent/qtconcurrentthreadengine/tst_qtconcurrentthreadengine.cpp b/tests/auto/concurrent/qtconcurrentthreadengine/tst_qtconcurrentthreadengine.cpp
index e58eb68cea..c365ec4837 100644
--- a/tests/auto/concurrent/qtconcurrentthreadengine/tst_qtconcurrentthreadengine.cpp
+++ b/tests/auto/concurrent/qtconcurrentthreadengine/tst_qtconcurrentthreadengine.cpp
@@ -421,7 +421,7 @@ public:
this->blockThread = blockThread;
}
- ThreadFunctionResult threadFunction()
+ ThreadFunctionResult threadFunction() override
{
QTest::qSleep(50);
throw QException();
@@ -439,7 +439,7 @@ public:
this->blockThread = blockThread;
}
- ThreadFunctionResult threadFunction()
+ ThreadFunctionResult threadFunction() override
{
QTest::qSleep(50);
throw int();