QFutureInterface: fix build with GCC14/C++20: template-id not allowed
authorDebian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Fri, 25 Oct 2024 09:40:08 +0000 (12:40 +0300)
committerDmitry Shachnev <mitya57@debian.org>
Fri, 25 Oct 2024 09:40:08 +0000 (12:40 +0300)
commit0498c29b663b8bda32805b6f21fedd3d00ce2a93
tree4ed53b47febcdb4bcde6e0cfd893a943adc3f204
parent3412bbda0c8668ca795a28830179d6c8be3311fe
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