aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4string.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/jsruntime/qv4string.cpp')
-rw-r--r--src/qml/jsruntime/qv4string.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/qml/jsruntime/qv4string.cpp b/src/qml/jsruntime/qv4string.cpp
index ce47fc439e..adf4e67993 100644
--- a/src/qml/jsruntime/qv4string.cpp
+++ b/src/qml/jsruntime/qv4string.cpp
@@ -117,8 +117,7 @@ bool String::isEqualTo(Managed *t, Managed *o)
}
-Heap::String::String(ExecutionEngine *engine, const QString &t)
- : Heap::Base(engine->emptyClass)
+Heap::String::String(const QString &t)
{
subtype = String::StringType_Unknown;
@@ -130,8 +129,7 @@ Heap::String::String(ExecutionEngine *engine, const QString &t)
len = text->size;
}
-Heap::String::String(ExecutionEngine *engine, String *l, String *r)
- : Heap::Base(engine->emptyClass)
+Heap::String::String(String *l, String *r)
{
subtype = String::StringType_Unknown;