diff options
Diffstat (limited to 'src/qml/jsruntime/qv4errorobject_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4errorobject_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4errorobject_p.h b/src/qml/jsruntime/qv4errorobject_p.h index a9eab58414..d16057b035 100644 --- a/src/qml/jsruntime/qv4errorobject_p.h +++ b/src/qml/jsruntime/qv4errorobject_p.h @@ -72,7 +72,7 @@ struct ErrorObject: Object { ExecutionEngine::StackTrace stackTrace; String *stack; - static Value method_get_stack(SimpleCallContext *ctx); + static ReturnedValue method_get_stack(SimpleCallContext *ctx); static void markObjects(Managed *that); static void destroy(Managed *that) { static_cast<ErrorObject *>(that)->~ErrorObject(); } }; @@ -189,7 +189,7 @@ struct ErrorPrototype: ErrorObject void init(ExecutionEngine *engine, const Value &ctor) { init(engine, ctor, this); } static void init(ExecutionEngine *engine, const Value &ctor, Object *obj); - static Value method_toString(SimpleCallContext *ctx); + static ReturnedValue method_toString(SimpleCallContext *ctx); }; struct EvalErrorPrototype: ErrorObject |