QFutureInterface: fix build with GCC14/C++20: template-id not allowed
authorDebian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Mon, 24 Mar 2025 12:42:48 +0000 (15:42 +0300)
committerDmitry Shachnev <mitya57@debian.org>
Mon, 24 Mar 2025 12:42:48 +0000 (15:42 +0300)
commit2d8727032827c25c4a5460e1c88df37b17139b36
treec2a2b26db56f6d37b169a4442f64e2c1e7340f81
parent31a70c043cf651c787a5e7a6a667356021d8b4fc
QFutureInterface: fix build with GCC14/C++20: template-id not allowed

Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=111c08d0eaa13465
Last-Update: 2024-07-24

When declaring a constructor, you must use the injected name, not a
template.

qfutureinterface.h:472:37: error: template-id not allowed for constructor in C++20 [-Werror=template-id-cdtor]

Gbp-Pq: Name gcc_14.diff
src/corelib/thread/qfutureinterface.h