diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2021-08-22 10:35:44 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2021-08-24 13:39:06 +0200 |
commit | f6b851837df08b3f2fc6a571a2cc4567471a2495 (patch) | |
tree | 35bc669e27be82abb8834ebeba1017c9eda48227 /src/plugins/platforms/cocoa/qnsview_complextext.mm | |
parent | 01aeb5f7e4fd977e9698fffdc7650897664ecb82 (diff) |
Fix warning about loop variable creating a copy
qxpmhandler.cpp:1162:21: warning: loop variable '[color, index]' of type
'const std::__1::pair<const unsigned int, int>' creates a copy from type
'const std::__1::pair<const unsigned int, int>' [-Wrange-loop-analysis]
for (const auto [color, index] : colorMap)
^
Change-Id: Ifabf1c569efdcd929859227d860f4598250ba5bd
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/plugins/platforms/cocoa/qnsview_complextext.mm')
0 files changed, 0 insertions, 0 deletions