diff options
author | Lars Knoll <lars.knoll@theqtcompany.com> | 2014-11-03 02:29:08 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2014-11-08 16:39:58 +0100 |
commit | aeb7d3ebbbc5ac16bf7b2f08874f13912b683007 (patch) | |
tree | d3d154b2523a81ac74ff3e7141dadf69adaa0319 /src/qml/jsruntime/qv4identifiertable.cpp | |
parent | a7ffd048cc8ab49fdf13fa2a943b6f134ce157e8 (diff) |
Move Data for String into the Heap namespace
Change-Id: Iefa231106b77db6d4c9d4ded2b028d21eb94ab03
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4identifiertable.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4identifiertable.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4identifiertable.cpp b/src/qml/jsruntime/qv4identifiertable.cpp index 5554b68db3..4dca1b65f1 100644 --- a/src/qml/jsruntime/qv4identifiertable.cpp +++ b/src/qml/jsruntime/qv4identifiertable.cpp @@ -69,7 +69,7 @@ void IdentifierTable::addEntry(String *str) { uint hash = str->hashValue(); - if (str->subtype() == String::StringType_ArrayIndex) + if (str->subtype() == Heap::String::StringType_ArrayIndex) return; str->d()->identifier = new Identifier; @@ -133,7 +133,7 @@ Identifier *IdentifierTable::identifierImpl(const String *str) if (str->d()->identifier) return str->d()->identifier; uint hash = str->hashValue(); - if (str->subtype() == String::StringType_ArrayIndex) + if (str->subtype() == Heap::String::StringType_ArrayIndex) return 0; uint idx = hash % alloc; |