aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4identifiertable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/jsruntime/qv4identifiertable.cpp')
-rw-r--r--src/qml/jsruntime/qv4identifiertable.cpp4
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;