summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qhash.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2020-02-28 10:53:15 +0100
committerLars Knoll <lars.knoll@qt.io>2020-03-03 11:39:56 +0100
commitc3fc9a24d8695447416b0eb40590fabea7287444 (patch)
tree1d6441985a405b71397fc1c7014c0e3e2de0d976 /src/corelib/tools/qhash.h
parentdd704d44989e6481460e8d326b3faf4f1a781ad4 (diff)
Avoid UB in QList::removeAt()
Always keep the out of bounds check for backwards compatibility, but warn about it, so that we can remove it in Qt 6. Amends commit ebf695bc779a63a5730df05ab246305c0ab342e4 Change-Id: I3f1e7e8f9f20feb0b0f06ff9083c26682f1c7d3b Reviewed-by: Richard Öhlinger <richard.oehlinger@adbsafegate.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/tools/qhash.h')
0 files changed, 0 insertions, 0 deletions