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/qv4global_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/qv4global_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4global_p.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/qml/jsruntime/qv4global_p.h b/src/qml/jsruntime/qv4global_p.h index 0337e336b9..d3764d0515 100644 --- a/src/qml/jsruntime/qv4global_p.h +++ b/src/qml/jsruntime/qv4global_p.h @@ -156,12 +156,11 @@ template<typename T> struct Returned; typedef Returned<String> ReturnedString; typedef Returned<Object> ReturnedObject; typedef Returned<FunctionObject> ReturnedFunctionObject; -template<typename T> struct Referenced; -typedef Referenced<Managed> ManagedRef; -typedef Referenced<String> StringRef; -typedef Referenced<Object> ObjectRef; -typedef Referenced<ArrayObject> ArrayObjectRef; -typedef Referenced<FunctionObject> FunctionObjectRef; +template<typename T> struct ManagedRef; +typedef ManagedRef<String> StringRef; +typedef ManagedRef<Object> ObjectRef; +typedef ManagedRef<ArrayObject> ArrayObjectRef; +typedef ManagedRef<FunctionObject> FunctionObjectRef; struct PersistentValuePrivate; class PersistentValue; |