Compile
authorRoberto Raggi <roberto.raggi@nokia.com>
Fri, 4 May 2012 18:22:04 +0000 (20:22 +0200)
committerRoberto Raggi <roberto.raggi@nokia.com>
Mon, 7 May 2012 07:37:24 +0000 (09:37 +0200)
qmljs_runtime.cpp

index ee7384e..f95060e 100644 (file)
@@ -4,7 +4,8 @@
 #include <cstdio>
 #include <cassert>
 
-using namespace QQmlJS::VM;
+namespace QQmlJS {
+namespace VM {
 
 Value Value::string(Context *ctx, const QString &s)
 {
@@ -350,3 +351,7 @@ void __qmjs_construct(Context *ctx, Value *result, const Value *function, const
 
 
 } // extern "C"
+
+
+} // namespace VM
+} // namespace QQmlJS