diff options
Diffstat (limited to 'tools/qmlformat')
-rw-r--r-- | tools/qmlformat/qmlformat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qmlformat/qmlformat.cpp b/tools/qmlformat/qmlformat.cpp index 68dd7c5379..42c11670f8 100644 --- a/tools/qmlformat/qmlformat.cpp +++ b/tools/qmlformat/qmlformat.cpp @@ -65,7 +65,7 @@ bool parseFile(const QString &filename, const Options &options) std::shared_ptr<QmlFile> qmlFilePtr = qmlFile.ownerAs<QmlFile>(); if (!qmlFilePtr || !qmlFilePtr->isValid()) { qmlFile.iterateErrors( - [](DomItem, ErrorMessage msg) { + [](const DomItem &, const ErrorMessage &msg) { errorToQDebug(msg); return true; }, |