qt6-bb10/tests/auto/corelib
Giuseppe D'Angelo 2ba1d540e6 QMultiMap: fix remove(Key, T) when key/value belong to the map
Just like any other container, it's legitimate for the user to
pass key/values belonging to the same container.
Q(Multi)Map::remove(Key) are already safe (either they call
erase() directly on std::(multi)map, where it does the right thing,
or they skip elements while detaching).
However, QMultiMap::remove(Key, T) wasn't safe in this regard
(the implementation is hand rolled), so take copies before start
erasing.

Change-Id: I87767d608b83216a6ff264fb6c8f145fdb5934f8
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2020-08-19 01:45:19 +02:00
..
animation Fix warning when printing of qsizetype 2020-07-26 17:39:31 +02:00
global Fix compiler warning about implict cast to double 2020-08-16 14:54:17 +02:00
io Fix test with cmake build 2020-08-16 11:53:29 +02:00
itemmodels Restrict QVariant::isNull() behavior 2020-08-13 08:48:32 +02:00
kernel Remove QVariant(int type, void *data, ...) constructor 2020-08-15 10:56:29 +02:00
mimetypes Fix warnings about unused expression results in tests 2020-07-29 14:33:29 +02:00
plugin Replace Qt CONSTEXPR defines with constexpr 2020-08-14 15:52:58 +02:00
serialization Constrain the data stream operators for containers 2020-08-15 14:43:30 +02:00
statemachine CMake: Regenerate subdir test projects 2020-07-09 09:38:39 +02:00
text Replace Qt CONSTEXPR defines with constexpr 2020-08-14 15:52:58 +02:00
thread Replace Qt CONSTEXPR defines with constexpr 2020-08-14 15:52:58 +02:00
time Sort out the overflow cases in tst_QDateTime 2020-08-11 11:21:46 +02:00
tools QMultiMap: fix remove(Key, T) when key/value belong to the map 2020-08-19 01:45:19 +02:00
.prev_CMakeLists.txt Move QTextCodec support out of QtCore 2020-06-20 02:04:38 +02:00
CMakeLists.txt Move QTextCodec support out of QtCore 2020-06-20 02:04:38 +02:00
corelib.pro Move QTextCodec support out of QtCore 2020-06-20 02:04:38 +02:00