qt5base-lts/tests/auto
Thiago Macieira 727fab7d29 QCborMap: remove the optimization not to detach from non-const find()
All our tests were find() == end() or !=, which depends on the
evaluation order of the arguments to operator==(). If end() is called
first, then the detach happens before find() and all is well. But if
find() is called first, it may return end() before end() detaches.

[ChangeLog][QCborMap] Fixed a bug that could cause the iterator returned
from a failing key search with find() not to match end(). Now, every
call to find() will detach in shared QCborMaps; to avoid this, use
constFind() and constEnd().

Fixes: QTBUG-84583
Pick-to: 5.15 5.12
Change-Id: I552d244076a447ab92d7fffd161793496a8d03a8
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2020-06-23 00:29:50 +00:00
..
cmake Remove the openglextensions module 2020-06-10 09:35:04 +02:00
concurrent Use QList instead of QVector in concurrent tests 2020-06-22 16:46:01 +02:00
corelib QCborMap: remove the optimization not to detach from non-const find() 2020-06-23 00:29:50 +00:00
dbus Move implementation of QVector/List back to qlist.h 2020-06-20 20:01:33 +02:00
gui Replace "no devices registered" warnings with qCDebug 2020-06-22 11:22:17 +02:00
guiapplauncher
installed_cmake
network QSslSocket: remove certificate-related setters 2020-06-22 12:11:47 +02:00
opengl Get rid of QT_OPENGL_ES* 2020-04-17 11:50:24 +02:00
other Port Q_STATIC_ASSERT(_X) to static_assert 2020-06-19 19:38:23 +02:00
printsupport Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
shared QWindowsFontDatabase: Check preferred family names for all fonts 2019-11-29 09:31:21 +01:00
sql Change boundValues() to return a QVariantList 2020-06-22 06:54:16 +02:00
testlib Long live std::pair! 2020-06-10 16:49:08 +02:00
tools Use QList instead of QVector in moc tests 2020-06-22 16:45:55 +02:00
widgets Remove deprecated QStyleOption::init() 2020-06-21 12:51:24 +02:00
xml Remove winrt 2020-06-06 20:25:49 +02:00
.prev_CMakeLists.txt Remove winrt 2020-06-06 20:25:49 +02:00
auto.pro Remove winrt 2020-06-06 20:25:49 +02:00
CMakeLists.txt Remove winrt 2020-06-06 20:25:49 +02:00
network-settings.h Revert "QAbstractSocket: deprecate 'error' member-function" 2020-02-26 23:07:52 +03:00