aboutsummaryrefslogtreecommitdiffstats
path: root/src/v4/qv4errorobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/v4/qv4errorobject.cpp')
-rw-r--r--src/v4/qv4errorobject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/v4/qv4errorobject.cpp b/src/v4/qv4errorobject.cpp
index f576b73211..51a0930524 100644
--- a/src/v4/qv4errorobject.cpp
+++ b/src/v4/qv4errorobject.cpp
@@ -230,7 +230,7 @@ void ErrorPrototype::init(ExecutionContext *ctx, const Value &ctor, Object *obj)
obj->defineDefaultProperty(ctx, QStringLiteral("name"), Value::fromString(ctx, QStringLiteral("Error")));
}
-Value ErrorPrototype::method_toString(CallContext *ctx)
+Value ErrorPrototype::method_toString(SimpleCallContext *ctx)
{
Object *o = ctx->thisObject.asObject();
if (!o)