diff options
| author | Fabian Kosmale <fabian.kosmale@qt.io> | 2024-08-14 09:47:29 +0200 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2024-09-06 17:54:52 +0200 |
| commit | 7fe3cee36352c74cbaaff52e863bd0da1170affa (patch) | |
| tree | ebe96a30c4ddda7b4574cb15a08b8f8ea25a591d /src/corelib/kernel/qtimer.cpp | |
| parent | c3093b3d8f27fa3df14e04245dea9ed1e781f61e (diff) | |
QHash: Unconceptify heterogeneous search code
That allows the code to run in C++17 mode - at the expense of
significantly worse compile time error messages, potentially worse
compilation speed and harder to read code.
Adjust the test type to actually model
detail::is_equality_comparable_with (which requires all four
relational operators even in C++17).
As a drive-by, fix the return value of remove() from auto to bool.
Done-with: Marc Mutz <marc.mutz@qt.io>
Pick-to: 6.8
Fixes: QTBUG-128470
Change-Id: I68df26db579c60812a18e09b76dd5712e73ccaa2
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/kernel/qtimer.cpp')
0 files changed, 0 insertions, 0 deletions
