diff options
author | Kai Koehne <kai.koehne@qt.io> | 2020-09-07 13:23:14 +0200 |
---|---|---|
committer | Kai Koehne <kai.koehne@qt.io> | 2020-09-14 12:41:00 +0200 |
commit | cdb9ffd7e1e075a5fafb1477e2e87bef0b3fa49d (patch) | |
tree | cf314e17c738d071ed2e8e6924e5f6eae8ed4974 /src/corelib/kernel/qvariant.h | |
parent | 0c02f133f3daee146b805149e69bba8cee6727b2 (diff) |
Windows: Fix clang error about copy on loop
clang on Windows shows an error:
qtbase/src/gui/text/windows/qwindowsfontdatabase_ft.cpp:122:25: error: loop variable 'key' of type 'const QString' creates a copy from type 'const QString' [-Werror,-Wrange-loop-construct]
for (const auto key : keys) {
^
Change-Id: Icdfa5e2a6753450213dcb96df70247c5a71c2293
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/corelib/kernel/qvariant.h')
0 files changed, 0 insertions, 0 deletions