From 32b27f24a94a5b1a3d125b5b9f97109c4ca9c5c6 Mon Sep 17 00:00:00 2001 From: Fabian Kosmale Date: Thu, 5 Aug 2021 11:15:43 +0200 Subject: CodegenWarningInterface: Add missing virtual dtor Change-Id: Icdd93eb63c4d73675cfbf7b3291a7c5c9eece216 Reviewed-by: Maximilian Goldstein Reviewed-by: Andrei Golubev --- src/qml/compiler/qv4codegen_p.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/qml/compiler') diff --git a/src/qml/compiler/qv4codegen_p.h b/src/qml/compiler/qv4codegen_p.h index 6494ce39a6..3ff3ed0460 100644 --- a/src/qml/compiler/qv4codegen_p.h +++ b/src/qml/compiler/qv4codegen_p.h @@ -86,6 +86,7 @@ public: virtual void reportVarUsedBeforeDeclaration(const QString &name, const QString &fileName, QQmlJS::SourceLocation declarationLocation, QQmlJS::SourceLocation accessLocation); + virtual ~CodegenWarningInterface() = default; }; static inline CodegenWarningInterface *defaultCodegenWarningInterface() -- cgit v1.2.3