diff options
Diffstat (limited to 'src/script/api/qscriptengine.cpp')
-rw-r--r-- | src/script/api/qscriptengine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/api/qscriptengine.cpp b/src/script/api/qscriptengine.cpp index 4fe8f76..92793a4 100644 --- a/src/script/api/qscriptengine.cpp +++ b/src/script/api/qscriptengine.cpp @@ -495,7 +495,7 @@ QScriptEnginePrivate *scriptEngineFromExec(JSC::ExecState *exec) return static_cast<GlobalClientData*>(exec->globalData().clientData)->engine; } -bool isFunction(JSC::JSValue value) +bool isFunction(const JSC::JSValue &value) { if (!value || !value.isObject()) return false; |