aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4runtimecodegen.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2019-07-09 14:30:24 +0200
committerUlf Hermann <ulf.hermann@qt.io>2019-07-11 11:14:54 +0200
commitf5e4f0784176a6c6e80176b1916ebe8a571f3646 (patch)
tree8bbfa93b4645bee727a48f6d98d115ce548139ff /src/qml/jsruntime/qv4runtimecodegen.cpp
parentbe600348ef3530ba69290cb1610d673faafae866 (diff)
Disentangle includes and namespaces
Avoid using namespace in headers and include only the headers we actually need. Change-Id: I526a0f874dc09b07693fd87070665be396d3b637 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4runtimecodegen.cpp')
-rw-r--r--src/qml/jsruntime/qv4runtimecodegen.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4runtimecodegen.cpp b/src/qml/jsruntime/qv4runtimecodegen.cpp
index 8d324acbd0..b6902d41b0 100644
--- a/src/qml/jsruntime/qv4runtimecodegen.cpp
+++ b/src/qml/jsruntime/qv4runtimecodegen.cpp
@@ -42,6 +42,7 @@
#include "qv4compilerscanfunctions_p.h"
using namespace QV4;
+using namespace QQmlJS;
void RuntimeCodegen::generateFromFunctionExpression(const QString &fileName,
const QString &sourceCode,