qt6-bb10/tests/auto
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
..
cmake CMake: Fix configuration of CMake tests in-build-tree 2020-07-20 18:12:23 +02:00
concurrent CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
corelib QMultiMap: fix remove(Key, T) when key/value belong to the map 2020-08-19 01:45:19 +02:00
dbus Long Live QMap as a refcounted std::map! 2020-08-06 19:15:39 +02:00
gui rhi: sanityCheckGraphicsPipeline handle no vertex attributes 2020-08-18 07:58:50 +02:00
guiapplauncher
installed_cmake
network QDecompressHelper: Introduce zstd support 2020-08-14 13:17:11 +02:00
opengl CMake: Regenerate subdir test projects 2020-07-09 09:38:39 +02:00
other Disable warning about self-move and self-assign-overload 2020-07-26 18:06:34 +02:00
printsupport CMake: Regenerate subdir test projects 2020-07-09 09:38:39 +02:00
shared QWindowsFontDatabase: Check preferred family names for all fonts 2019-11-29 09:31:21 +01:00
sql Deprecate QVariant::Type uses in QSqlField 2020-08-15 10:56:33 +02:00
testlib Remove QVariant(int type, void *data, ...) constructor 2020-08-15 10:56:29 +02:00
tools cmake support for tst_moc 2020-08-10 12:59:46 +02:00
widgets Introduce QWidget::setScreen 2020-08-17 15:08:39 +02:00
xml Disable deprecation warnings in some tests 2020-07-29 14:33:23 +02:00
.prev_CMakeLists.txt CMake: Regenerate subdir test projects 2020-07-09 09:38:39 +02:00
CMakeLists.txt CMake: Get tests/auto/cmake tests working 2020-07-17 09:43:04 +02:00
auto.pro CMake: Get tests/auto/cmake tests working 2020-07-17 09:43:04 +02:00
network-settings.h Revert "QAbstractSocket: deprecate 'error' member-function" 2020-02-26 23:07:52 +03:00