QFutureInterface: fix build with GCC14/C++20: template-id not allowed
authorDebian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Sun, 29 Jun 2025 19:50:45 +0000 (22:50 +0300)
committerDmitry Shachnev <mitya57@debian.org>
Sun, 29 Jun 2025 19:50:45 +0000 (22:50 +0300)
commit985712b58b552160ab305d136730ae142eab23a3
tree03aafa89f62da6bf95735edb7d7b0664585f2573
parenta5d2a18c67546ea98784171efabb039a0d78f6e0
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