forked from qt-creator/qt-creator
QmlJS: Allow lookups on const Contexts. Pass const Contexts where ok.
In preparation for caching Contexts. Reviewed-by: Erik Verbruggen
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
using namespace QmlJS;
|
||||
using namespace QmlJS::Interpreter;
|
||||
|
||||
Evaluate::Evaluate(Context *context)
|
||||
Evaluate::Evaluate(const Context *context)
|
||||
: _engine(context->engine()),
|
||||
_context(context),
|
||||
_scope(_engine->globalObject()),
|
||||
|
||||
Reference in New Issue
Block a user