From 927a46b1af9728c770dabb82f0b2233600636d2a Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Mon, 27 Jan 2014 10:12:43 +0100 Subject: 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 --- src/qml/jsruntime/qv4global_p.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/qml/jsruntime/qv4global_p.h') 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 struct Returned; typedef Returned ReturnedString; typedef Returned ReturnedObject; typedef Returned ReturnedFunctionObject; -template struct Referenced; -typedef Referenced ManagedRef; -typedef Referenced StringRef; -typedef Referenced ObjectRef; -typedef Referenced ArrayObjectRef; -typedef Referenced FunctionObjectRef; +template struct ManagedRef; +typedef ManagedRef StringRef; +typedef ManagedRef ObjectRef; +typedef ManagedRef ArrayObjectRef; +typedef ManagedRef FunctionObjectRef; struct PersistentValuePrivate; class PersistentValue; -- cgit v1.2.3