aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4regexpobject.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2014-11-14 09:31:59 +0100
committerSimon Hausmann <simon.hausmann@digia.com>2014-11-22 07:56:58 +0100
commit6d2904ce547757fa554cdab6724a088c80abf5ac (patch)
treef3cd50654b8a140d843656961d107db6231bdce3 /src/qml/jsruntime/qv4regexpobject.cpp
parent9f717b650ea0a7efc4240240f957beba8d027bda (diff)
Remove two reinterpret_casts in Object
Change-Id: I921cd8129acb47cffd58be9551a6925c4f296d41 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4regexpobject.cpp')
-rw-r--r--src/qml/jsruntime/qv4regexpobject.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4regexpobject.cpp b/src/qml/jsruntime/qv4regexpobject.cpp
index 0c6965ec84..7758cd8483 100644
--- a/src/qml/jsruntime/qv4regexpobject.cpp
+++ b/src/qml/jsruntime/qv4regexpobject.cpp
@@ -391,8 +391,8 @@ ReturnedValue RegExpPrototype::method_exec(CallContext *ctx)
array->arrayPut(i, v);
}
array->setArrayLengthUnchecked(len);
- array->memberData()->data()[Index_ArrayIndex] = Primitive::fromInt32(result);
- array->memberData()->data()[Index_ArrayInput] = arg.asReturnedValue();
+ array->memberData()->data[Index_ArrayIndex] = Primitive::fromInt32(result);
+ array->memberData()->data[Index_ArrayInput] = arg.asReturnedValue();
RegExpCtor::Data *dd = regExpCtor->d();
dd->lastMatch = array;