From: Debian Qt/KDE Maintainers Date: Sat, 2 Apr 2022 18:23:38 +0000 (+0100) Subject: Fix builds of qtconcurrentthreadengine.h with GCC 11 X-Git-Tag: archive/raspbian/5.15.2+dfsg-16+rpi1^2~13 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1615a4321836277a6ad244f69250233e3e01fbcb;p=qtbase-opensource-src.git Fix builds of qtconcurrentthreadengine.h with GCC 11 Origin: upstream, https://codereview.qt-project.org/c/qt/qtbase/+/339417 Last-Update: 2022-04-01 Without this patch, all the code that #includes QtConcurrent headers will fail to compile with GCC 11. Gbp-Pq: Name gcc-11-qtconcurrentthreadengine.diff --- diff --git a/src/concurrent/qtconcurrentthreadengine.h b/src/concurrent/qtconcurrentthreadengine.h index af413707e..a4c8548cc 100644 --- a/src/concurrent/qtconcurrentthreadengine.h +++ b/src/concurrent/qtconcurrentthreadengine.h @@ -247,8 +247,8 @@ template <> class ThreadEngineStarter : public ThreadEngineStarterBase { public: - ThreadEngineStarter(ThreadEngine *_threadEngine) - :ThreadEngineStarterBase(_threadEngine) {} + ThreadEngineStarter(ThreadEngine *_threadEngine) + : ThreadEngineStarterBase(_threadEngine) {} void startBlocking() {