diff options
Diffstat (limited to 'src/qml/jsruntime/qv4regexpobject_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4regexpobject_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4regexpobject_p.h b/src/qml/jsruntime/qv4regexpobject_p.h index 90ff8caf7d..238ce8a759 100644 --- a/src/qml/jsruntime/qv4regexpobject_p.h +++ b/src/qml/jsruntime/qv4regexpobject_p.h @@ -110,10 +110,12 @@ protected: struct RegExpCtor: FunctionObject { struct Data : FunctionObject::Data { + Data(ExecutionContext *scope); Value lastMatch; StringValue lastInput; int lastMatchStart; int lastMatchEnd; + void clearLastMatch(); }; struct { Value lastMatch; @@ -123,13 +125,11 @@ struct RegExpCtor: FunctionObject } __data; V4_OBJECT - RegExpCtor(ExecutionContext *scope); Value lastMatch() { return d()->lastMatch; } StringValue lastInput() { return d()->lastInput; } int lastMatchStart() { return d()->lastMatchStart; } int lastMatchEnd() { return d()->lastMatchEnd; } - void clearLastMatch(); static ReturnedValue construct(Managed *m, CallData *callData); static ReturnedValue call(Managed *that, CallData *callData); |