Fix builds of qtconcurrentthreadengine.h with GCC 11

Without this patch, all the code that #includes QtConcurrent headers
will fail to compile with GCC 11.
Origin: upstream, https://codereview.qt-project.org/c/qt/qtbase/+/339417
Last-Update: 2022-04-01

Gbp-Pq: Name gcc-11-qtconcurrentthreadengine.diff
This commit is contained in:
Debian Qt/KDE Maintainers 2022-05-14 17:41:01 +08:00 committed by openKylinBot
parent 377c552430
commit ba37f387b4
1 changed files with 2 additions and 2 deletions

View File

@ -247,7 +247,7 @@ template <>
class ThreadEngineStarter<void> : public ThreadEngineStarterBase<void> class ThreadEngineStarter<void> : public ThreadEngineStarterBase<void>
{ {
public: public:
ThreadEngineStarter<void>(ThreadEngine<void> *_threadEngine) ThreadEngineStarter(ThreadEngine<void> *_threadEngine)
: ThreadEngineStarterBase<void>(_threadEngine) {} : ThreadEngineStarterBase<void>(_threadEngine) {}
void startBlocking() void startBlocking()