diff options
author | Lars Knoll <lars.knoll@digia.com> | 2013-03-07 12:55:02 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2013-03-07 14:15:54 +0100 |
commit | 0eb9899df511bef56110aef7b17f07d7c67169e0 (patch) | |
tree | 16c1dc943030fa9f0cd5cc7ee3c80ca5dec4b7cf /src/v4/qv4regexpobject.cpp | |
parent | a376c6a86813a6394031faab79610d92e43cd375 (diff) |
Cleanup put and properly implement it for strings
Change-Id: I10dda09c8a087bc7ef34c0315c698e08c35ec28d
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/v4/qv4regexpobject.cpp')
-rw-r--r-- | src/v4/qv4regexpobject.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/v4/qv4regexpobject.cpp b/src/v4/qv4regexpobject.cpp index 556fd3b3..926aca66 100644 --- a/src/v4/qv4regexpobject.cpp +++ b/src/v4/qv4regexpobject.cpp @@ -204,8 +204,8 @@ Value RegExpPrototype::method_exec(ExecutionContext *ctx) array->push_back(entry); } - array->__put__(ctx, QLatin1String("index"), Value::fromInt32(result)); - array->__put__(ctx, QLatin1String("input"), arg); + array->put(ctx, QLatin1String("index"), Value::fromInt32(result)); + array->put(ctx, QLatin1String("input"), arg); if (r->global) r->lastIndexProperty(ctx)->value = Value::fromInt32(matchOffsets[1]); |