QFutureInterface: fix build with GCC14/C++20: template-id not allowed
authorDebian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Sat, 8 Feb 2025 16:24:33 +0000 (19:24 +0300)
committerDmitry Shachnev <mitya57@debian.org>
Sat, 8 Feb 2025 16:24:33 +0000 (19:24 +0300)
commitb423431690c611b2b9cbb605106c082c5c3699e9
treee390cfb1f75afefffaa621d4e6f150545f3d02aa
parent4b5242363aa8cbc6a2ca02b2e775f7dbc8a8cb28
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