aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/v4/qv4string_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/qml/v4/qv4string_p.h')
-rw-r--r--src/qml/qml/v4/qv4string_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/qml/v4/qv4string_p.h b/src/qml/qml/v4/qv4string_p.h
index a681330a0a..f5864fc9f4 100644
--- a/src/qml/qml/v4/qv4string_p.h
+++ b/src/qml/qml/v4/qv4string_p.h
@@ -58,9 +58,9 @@ struct String : public Managed {
StringType_ArrayIndex
};
- String(const QString &text)
- : _text(text), stringHash(UINT_MAX), identifier(UINT_MAX)
+ String() : Managed(0), stringHash(UINT_MAX), identifier(UINT_MAX)
{ vtbl = &static_vtbl; type = Type_String; subtype = StringType_Unknown; }
+ String(ExecutionEngine *engine, const QString &text);
~String() { _data = 0; }
inline bool isEqualTo(const String *other) const {