diff options
author | Lars Knoll <lars.knoll@digia.com> | 2014-11-24 09:52:23 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2014-12-09 21:15:48 +0100 |
commit | d5b43dc8479f5a75ba2e3108d6454ff3f046a36e (patch) | |
tree | dfb381756ec3141b91027ae046d1f3adf9a1ab36 /src | |
parent | ff466a1881435f927f5df9ce1e5eac07d5591904 (diff) |
Move function definition where it belongs
Change-Id: I93e98813d2ffaf7dc648ad81b15e907dfdc276d0
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/qml/jsruntime/qv4scopedvalue_p.h | 5 | ||||
-rw-r--r-- | src/qml/jsruntime/qv4value_p.h | 5 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/qml/jsruntime/qv4scopedvalue_p.h b/src/qml/jsruntime/qv4scopedvalue_p.h index 35e078a5f9..e239e6f91d 100644 --- a/src/qml/jsruntime/qv4scopedvalue_p.h +++ b/src/qml/jsruntime/qv4scopedvalue_p.h @@ -467,11 +467,6 @@ inline TypedValue<T> &TypedValue<T>::operator=(const TypedValue<T> &t) return *this; } -inline Primitive::operator ValueRef() -{ - return ValueRef(this); -} - inline PersistentValue &PersistentValue::operator=(const ScopedValue &other) { return operator=(other.asReturnedValue()); diff --git a/src/qml/jsruntime/qv4value_p.h b/src/qml/jsruntime/qv4value_p.h index b242f94f8a..16177b612d 100644 --- a/src/qml/jsruntime/qv4value_p.h +++ b/src/qml/jsruntime/qv4value_p.h @@ -571,6 +571,11 @@ private: Value *ptr; }; +inline Primitive::operator ValueRef() +{ + return ValueRef(this); +} + inline ReturnedValue Heap::Base::asReturnedValue() const { |