diff options
| author | Marc Mutz <marc.mutz@qt.io> | 2024-09-06 10:38:44 +0200 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2024-09-06 17:54:52 +0200 |
| commit | a338f67dceed61009375a4a90a7fe32a06b443a0 (patch) | |
| tree | b5076c88d9b30d2cf5240d36b3c1bef41c32cbc3 /src/corelib/kernel/qtimer.cpp | |
| parent | 7fe3cee36352c74cbaaff52e863bd0da1170affa (diff) | |
Q(Multi)Hash: Fix underconstrained heterogenous operator[]
If the key doesn't exist yet in the map, we need to be able to create an
actual Key object. Consequently, we require that the type is actually
convertible.
This doesn't fix any broken code, but avoids compilation errors in QHash
internals bubbling up.
Note that the existence of a comomn_reference does not imply
convertibility (so the concept version wasn't strict enough either).
Done-with: Fabian Kosmale <fabian.kosmale@qt.io>
Pick-to: 6.8
Change-Id: I4ed46f343817932063084642093cac193fd9554f
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/kernel/qtimer.cpp')
0 files changed, 0 insertions, 0 deletions
