summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qobject.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2025-06-26 15:24:55 +0200
committerMarc Mutz <marc.mutz@qt.io>2025-06-27 16:50:31 +0200
commitdbd6fde29737ce22a0f3a8b458aa2266cb83de29 (patch)
tree62a95e67d8e541d343f769e3423ede19da8bd3f0 /src/corelib/kernel/qobject.cpp
parente0fb61834b975b94d33f9d334bd558489b114a69 (diff)
QFactoryLoader: don't use std::vector::at()
Unlike the Qt containers, STL container at() is checked, and throws an exception. Use op[], which is unchecked, and allows checkers like Coverity and UBSan to detect the issue, because UB always means it's unintentional. Amends e60aed5ed000b635d8424f9120249725d9e68c78. Pick-to: 6.10 6.9 6.8 6.5 Change-Id: Icec96bc3939a80c1845f4335c93d3c920627ac0e Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/kernel/qobject.cpp')
0 files changed, 0 insertions, 0 deletions