aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMaximilian Goldstein <max.goldstein@qt.io>2021-11-22 13:41:14 +0100
committerMaximilian Goldstein <max.goldstein@qt.io>2021-11-23 18:45:02 +0100
commit608e1a805349b0c76fcd993c43f4f9d808c2d77f (patch)
treea2aac25c79636d11d45849160a7fcf78f964c61f /tools
parent0b2311a62b25cbc34fd41bf0c9aef7e8327eb923 (diff)
qmlcompiler: Use QT_BEGIN_NAMESPACE / QT_END_NAMESPACE everywhere
Some code was not properly wrapped in a namespace. Change-Id: If70fd9782391309c511b66ae01eae43cb36292ac Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tools')
-rw-r--r--tools/qmllint/codegenwarninginterface.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/qmllint/codegenwarninginterface.h b/tools/qmllint/codegenwarninginterface.h
index 3899ff7d53..e0e7078629 100644
--- a/tools/qmllint/codegenwarninginterface.h
+++ b/tools/qmllint/codegenwarninginterface.h
@@ -31,7 +31,8 @@
#include <QtQml/private/qv4codegen_p.h>
-class QQmlJSLogger;
+QT_FORWARD_DECLARE_CLASS(QQmlJSLogger)
+
class CodegenWarningInterface final : public QV4::Compiler::CodegenWarningInterface
{
public: