aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmljs
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@theqtcompany.com>2015-01-11 16:30:29 +0100
committerLars Knoll <lars.knoll@digia.com>2015-01-21 13:18:55 +0100
commit47fbcb47771a36ab9fd0a4d5ede7b7504ab1410d (patch)
tree57f058746bcc842e2dda628ab5daa5d3096fae71 /tools/qmljs
parent36662b60b09f636c3623057f8116e862f94ff440 (diff)
Get rid of all uses of Managed::engine()
Change-Id: I596f14554d81f5e9af9996294d96047f2e810bef Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'tools/qmljs')
-rw-r--r--tools/qmljs/qmljs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qmljs/qmljs.cpp b/tools/qmljs/qmljs.cpp
index ef0a3622f9..2309069114 100644
--- a/tools/qmljs/qmljs.cpp
+++ b/tools/qmljs/qmljs.cpp
@@ -100,7 +100,7 @@ struct GC: public FunctionObject
static ReturnedValue call(Managed *m, CallData *)
{
- m->engine()->memoryManager->runGC();
+ static_cast<GC *>(m)->engine()->memoryManager->runGC();
return Encode::undefined();
}
};