diff options
author | Vladimir Belyavsky <belyavskyv@gmail.com> | 2024-04-20 19:47:18 +0300 |
---|---|---|
committer | Vladimir Belyavsky <belyavskyv@gmail.com> | 2024-04-22 08:06:28 +0000 |
commit | 1c629c1a7f6f5f108989eec6cca7c0c814587232 (patch) | |
tree | ba5b4edc5a120a7052c3b9de566f1c55f750e78b /src/qml/jsruntime | |
parent | 6f3ab82691d0f96ea83d2711c284cb4f451cf047 (diff) |
QuickLintPlugin: avoid detach with QHash::asKeyValueRange()
Wrap containers to std::as_const() before using non-const QHash::asKeyValueRange() in range-based for loop to avoid
unexpected detach.
Change-Id: Ie7317ebaeb91acb46393f84b2fc17176766d60a5
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/jsruntime')
0 files changed, 0 insertions, 0 deletions