diff options
author | Marc Mutz <marc.mutz@qt.io> | 2022-07-08 16:58:11 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-07-12 20:25:30 +0000 |
commit | 388c36c8f5345cfa60d185705ef8cc7921799cce (patch) | |
tree | 9507afdb09ffb7cb0ff348b6557b22c9f2af6842 /tests/auto/render/opengl/graphicshelpergl3_3/tst_graphicshelpergl3_3.cpp | |
parent | bca4dd57bd858a39db1fa87361d348546cd5e4e5 (diff) |
FilterKey: fix ambiguous relational operators in C++20
The member operators weren't const, leading them to be ambiguous with
their reversed versions.
Fix by adding a private equals() function (to avoid churning the
implementation) and making the relational operators hidden friends.
Task-number: QTBUG-104172
Change-Id: I97e74ef26fc2712d6f97c8f7d7bd61d6a625b42e
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
(cherry picked from commit bcd20a74c9f2cd5920ecc5c1c0bb6d577db6cb50)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests/auto/render/opengl/graphicshelpergl3_3/tst_graphicshelpergl3_3.cpp')
0 files changed, 0 insertions, 0 deletions