diff options
author | Lars Knoll <lars.knoll@theqtcompany.com> | 2015-04-26 11:02:40 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@theqtcompany.com> | 2015-06-10 15:01:25 +0000 |
commit | 8a9112c7f7610bb98b34058859ba54e0143c0d7f (patch) | |
tree | 0f49ebdc54081a1fa3e5cd981082f24df7cc1181 /src/qml/jsruntime/qv4scopedvalue_p.h | |
parent | 6a216bd820eddf64003bb525a849abe62a733807 (diff) |
Get rid of TypedValue
Now that Managed inherits from Value, this class doesn't
make sense anymore.
Change-Id: I04e10f53ef305658d902bd0f1c7d7280068c0dc3
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qml/jsruntime/qv4scopedvalue_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4scopedvalue_p.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/qml/jsruntime/qv4scopedvalue_p.h b/src/qml/jsruntime/qv4scopedvalue_p.h index 98ced91b05..29cca1c87d 100644 --- a/src/qml/jsruntime/qv4scopedvalue_p.h +++ b/src/qml/jsruntime/qv4scopedvalue_p.h @@ -396,33 +396,6 @@ inline Value &Value::operator=(const Scoped<T> &t) return *this; } -template<typename T> -inline TypedValue<T> &TypedValue<T>::operator =(T *t) -{ - m = t ? t->m : 0; -#if QT_POINTER_SIZE == 4 - tag = Managed_Type; -#endif - return *this; -} - -template<typename T> -inline TypedValue<T> &TypedValue<T>::operator =(const Scoped<T> &v) -{ - m = v.ptr->m; -#if QT_POINTER_SIZE == 4 - tag = Managed_Type; -#endif - return *this; -} - -template<typename T> -inline TypedValue<T> &TypedValue<T>::operator=(const TypedValue<T> &t) -{ - val = t.val; - return *this; -} - struct ScopedProperty { ScopedProperty(Scope &scope) |