aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4stringobject_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@theqtcompany.com>2015-05-01 00:08:55 +0200
committerSimon Hausmann <simon.hausmann@theqtcompany.com>2015-06-17 09:03:48 +0000
commit64199b0a5842b6b57f694c14d7f1327cf5f2344f (patch)
tree5846b6e7866a5abb10bafcdefafe5fc0ceff171f /src/qml/jsruntime/qv4stringobject_p.h
parent81d8e36c1732854a0c6b0312c0bf42804d30192e (diff)
Store a Heap::String pointer in StringObject
Change-Id: I926c5bb2dd4f1613af6737d4200e568f0ec13d58 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qml/jsruntime/qv4stringobject_p.h')
-rw-r--r--src/qml/jsruntime/qv4stringobject_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4stringobject_p.h b/src/qml/jsruntime/qv4stringobject_p.h
index 8b05cfd3dc..709b73f0bb 100644
--- a/src/qml/jsruntime/qv4stringobject_p.h
+++ b/src/qml/jsruntime/qv4stringobject_p.h
@@ -45,8 +45,8 @@ namespace Heap {
struct StringObject : Object {
StringObject(InternalClass *ic, QV4::Object *prototype);
- StringObject(ExecutionEngine *engine, const Value &value);
- Value value;
+ StringObject(ExecutionEngine *engine, const QV4::String *string);
+ String *string;
Heap::String *getIndex(uint index) const;
uint length() const;