aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmlworkerscript/qquickworkerscript.cpp
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2022-08-31 08:52:42 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2022-09-01 22:12:33 +0200
commit761beaa354490b23d8ebdccc4e00b87d57375d02 (patch)
tree96071c26e5a01ff845a4ed69cea98df8fc26aa14 /src/qmlworkerscript/qquickworkerscript.cpp
parentbca463b61c29e68fe2a9a63ebee8e35ed125085c (diff)
Fix build-breaking warnings
Qt's asKeyValueRange of associative containers cannot return references to key/value pairs, so Apple's clang warns when using ranged-for with references to elements. Use a structured binding instead as the loop variable, and delay some conversions of QSet<QString> to QStringList until the list is needed. Change-Id: I37aa101e6d9cd008cde0c2db790132dc051a249b Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qmlworkerscript/qquickworkerscript.cpp')
0 files changed, 0 insertions, 0 deletions