Some compilers do not respect the QT_WARNING_PUSH QT_WARNING_DISABLE_DEPRECATED ... QT_WARNING_POP incantation, so rewrite the test to use `template <typename X>` as an Attribute parameter of the macros. This allows to get rid of annoying warnings when compiling tst_qcomparehelpers. Amends de16185068a08e0cab8bf588c574899a19392410. Change-Id: I0b3a0f4ad3189d39f5662ce128d5e5f427543393 Reviewed-by: Marc Mutz <marc.mutz@qt.io> (cherry picked from commit c6feed7e1d8b8ed991a81878c78bb361f038eaf6) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
…
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%