From 85bf8d732b9651ce7b88d5464b8b3aae138e1893 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Sat, 10 Jan 2015 20:35:18 +0100 Subject: Remove the remaining bit of code that use the vtable in the internalClass Change-Id: Ia52f0e6db325aab37477d455f163487b319dce29 Reviewed-by: Simon Hausmann --- src/qml/jsruntime/qv4string.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/qml/jsruntime/qv4string.cpp') diff --git a/src/qml/jsruntime/qv4string.cpp b/src/qml/jsruntime/qv4string.cpp index 86624b23bf..ce47fc439e 100644 --- a/src/qml/jsruntime/qv4string.cpp +++ b/src/qml/jsruntime/qv4string.cpp @@ -118,7 +118,7 @@ bool String::isEqualTo(Managed *t, Managed *o) Heap::String::String(ExecutionEngine *engine, const QString &t) - : Heap::Base(engine->stringClass) + : Heap::Base(engine->emptyClass) { subtype = String::StringType_Unknown; @@ -131,7 +131,7 @@ Heap::String::String(ExecutionEngine *engine, const QString &t) } Heap::String::String(ExecutionEngine *engine, String *l, String *r) - : Heap::Base(engine->stringClass) + : Heap::Base(engine->emptyClass) { subtype = String::StringType_Unknown; -- cgit v1.2.3