summaryrefslogtreecommitdiffstats
path: root/src/v4/qv4dateobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/v4/qv4dateobject.h')
-rw-r--r--src/v4/qv4dateobject.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/v4/qv4dateobject.h b/src/v4/qv4dateobject.h
index b4916ecd..946240ec 100644
--- a/src/v4/qv4dateobject.h
+++ b/src/v4/qv4dateobject.h
@@ -59,8 +59,11 @@ struct DateCtor: FunctionObject
{
DateCtor(ExecutionContext *scope);
- virtual Value construct(ExecutionContext *ctx, Value *args, int argc);
- virtual Value call(ExecutionContext *ctx, Value, Value *, int);
+ static Value construct(Managed *, ExecutionContext *context, Value *args, int argc);
+ static Value call(Managed *that, ExecutionContext *, const Value &, Value *, int);
+
+protected:
+ static const ManagedVTable static_vtbl;
};
struct DatePrototype: DateObject