diff options
Diffstat (limited to 'src/qml/jsruntime/qv4object_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4object_p.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/qml/jsruntime/qv4object_p.h b/src/qml/jsruntime/qv4object_p.h index b9a95c625b..19105b18d3 100644 --- a/src/qml/jsruntime/qv4object_p.h +++ b/src/qml/jsruntime/qv4object_p.h @@ -453,21 +453,6 @@ inline ReturnedValue value_convert<Object>(ExecutionEngine *e, const Value &v) } #endif -struct ObjectRef : public ManagedRef -{ - DEFINE_REF_METHODS(Object, Managed) - - static ObjectRef fromValuePointer(Value *s) { - ObjectRef r; - r.ptr = s; - if (sizeof(void *) == 8) - r.ptr->val = 0; - else - *r.ptr = Value::fromManaged(0); - return r; - } -}; - } QT_END_NAMESPACE |