summaryrefslogtreecommitdiffstats
path: root/src/v4/qv4regexpobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/v4/qv4regexpobject.cpp')
-rw-r--r--src/v4/qv4regexpobject.cpp4
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]);