diff options
author | Lars Knoll <lars.knoll@digia.com> | 2014-01-27 10:12:43 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-07 10:43:57 +0100 |
commit | 927a46b1af9728c770dabb82f0b2233600636d2a (patch) | |
tree | e323c9ca76fb766bbb271d03cad399f017555c6e /src/qml/jsruntime/qv4persistent_p.h | |
parent | 694c083c0f83f02558f148c3b648d35efd9ed3c0 (diff) |
Rename Referenced to ManagedRef
First step of removing the templates here and turning this
into a class hierarchy. This is required, so we can move all
member methods into the Ref classes and make objects movable
during GC.
Change-Id: Ie14af07fd3e72a7d84a528d0042189ff12ba21bb
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4persistent_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4persistent_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4persistent_p.h b/src/qml/jsruntime/qv4persistent_p.h index 07e8ee9775..34cf9ba50d 100644 --- a/src/qml/jsruntime/qv4persistent_p.h +++ b/src/qml/jsruntime/qv4persistent_p.h @@ -85,13 +85,13 @@ public: template<typename T> PersistentValue(Returned<T> *obj); template<typename T> - PersistentValue(const Referenced<T> obj); + PersistentValue(const ManagedRef<T> obj); PersistentValue &operator=(const ValueRef other); PersistentValue &operator =(ReturnedValue other); template<typename T> PersistentValue &operator=(Returned<T> *obj); template<typename T> - PersistentValue &operator=(const Referenced<T> obj); + PersistentValue &operator=(const ManagedRef<T> obj); ~PersistentValue(); ReturnedValue value() const { |