diff options
Diffstat (limited to 'src/qml/jsruntime/qv4object_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4object_p.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qml/jsruntime/qv4object_p.h b/src/qml/jsruntime/qv4object_p.h index 7541178dc1..1df388d5b8 100644 --- a/src/qml/jsruntime/qv4object_p.h +++ b/src/qml/jsruntime/qv4object_p.h @@ -191,7 +191,7 @@ public: bool arrayPut(uint index, ValueRef value) { return arrayData->vtable()->put(this, index, value); } - bool arrayPut(uint index, SafeValue *values, uint n) { + bool arrayPut(uint index, Value *values, uint n) { return arrayData->vtable()->putArray(this, index, values, n); } void setArrayAttributes(uint i, PropertyAttributes a) { @@ -304,7 +304,7 @@ private: struct BooleanObject: Object { V4_OBJECT Q_MANAGED_TYPE(BooleanObject) - SafeValue value; + Value value; BooleanObject(ExecutionEngine *engine, const ValueRef val) : Object(engine->booleanClass) { value = val; @@ -320,7 +320,7 @@ protected: struct NumberObject: Object { V4_OBJECT Q_MANAGED_TYPE(NumberObject) - SafeValue value; + Value value; NumberObject(ExecutionEngine *engine, const ValueRef val) : Object(engine->numberClass) { value = val; |