From 230f41f670a37511de3da9f4c3429079fe8ad372 Mon Sep 17 00:00:00 2001 From: Andreas Buhr Date: Fri, 5 Mar 2021 10:22:52 +0100 Subject: Fix warning about virtual override Change-Id: Ia9928c8ef5d1597e55f45c67c462c1e9756ee899 Reviewed-by: Ivan Solovev Reviewed-by: Sona Kurazyan --- tests/auto/corelib/thread/qthreadpool/tst_qthreadpool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/auto/corelib/thread/qthreadpool/tst_qthreadpool.cpp b/tests/auto/corelib/thread/qthreadpool/tst_qthreadpool.cpp index 5960ac20a3..3c50c6315b 100644 --- a/tests/auto/corelib/thread/qthreadpool/tst_qthreadpool.cpp +++ b/tests/auto/corelib/thread/qthreadpool/tst_qthreadpool.cpp @@ -404,7 +404,7 @@ void tst_QThreadPool::expiryTimeoutRace() // QTBUG-3786 class ExceptionTask : public QRunnable { public: - void run() + void run() override { throw new int; } -- cgit v1.2.3