From 6d2904ce547757fa554cdab6724a088c80abf5ac Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Fri, 14 Nov 2014 09:31:59 +0100 Subject: Remove two reinterpret_casts in Object Change-Id: I921cd8129acb47cffd58be9551a6925c4f296d41 Reviewed-by: Simon Hausmann --- src/qml/jsruntime/qv4functionobject_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qml/jsruntime/qv4functionobject_p.h') diff --git a/src/qml/jsruntime/qv4functionobject_p.h b/src/qml/jsruntime/qv4functionobject_p.h index 1621e52b4f..711b16a498 100644 --- a/src/qml/jsruntime/qv4functionobject_p.h +++ b/src/qml/jsruntime/qv4functionobject_p.h @@ -139,7 +139,7 @@ struct Q_QML_EXPORT FunctionObject: Object { static Heap::FunctionObject *createScriptFunction(ExecutionContext *scope, Function *function, bool createProto = true); - ReturnedValue protoProperty() { return memberData()->data()[Heap::FunctionObject::Index_Prototype].asReturnedValue(); } + ReturnedValue protoProperty() { return memberData()->data[Heap::FunctionObject::Index_Prototype].asReturnedValue(); } bool needsActivation() const { return d()->needsActivation; } bool strictMode() const { return d()->strictMode; } -- cgit v1.2.3