aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4numberobject_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/jsruntime/qv4numberobject_p.h')
-rw-r--r--src/qml/jsruntime/qv4numberobject_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4numberobject_p.h b/src/qml/jsruntime/qv4numberobject_p.h
index d5a0cda287..a4d13267bd 100644
--- a/src/qml/jsruntime/qv4numberobject_p.h
+++ b/src/qml/jsruntime/qv4numberobject_p.h
@@ -61,7 +61,7 @@ struct NumberCtor: FunctionObject
struct NumberPrototype: NumberObject
{
NumberPrototype(InternalClass *ic): NumberObject(ic) {}
- void init(ExecutionEngine *engine, const Value &ctor);
+ void init(ExecutionEngine *engine, ObjectRef ctor);
static ReturnedValue method_toString(SimpleCallContext *ctx);
static ReturnedValue method_toLocaleString(SimpleCallContext *ctx);