aboutsummaryrefslogtreecommitdiffstats
path: root/src/v4/qv4objectiterator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/v4/qv4objectiterator.cpp')
-rw-r--r--src/v4/qv4objectiterator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/v4/qv4objectiterator.cpp b/src/v4/qv4objectiterator.cpp
index d7c1a19852..a0cd1a69ca 100644
--- a/src/v4/qv4objectiterator.cpp
+++ b/src/v4/qv4objectiterator.cpp
@@ -109,7 +109,7 @@ PropertyDescriptor *ObjectIterator::next(String **name, uint *index)
while (arrayIndex < current->arrayDataLen) {
p = current->arrayAt(arrayIndex);
++arrayIndex;
- if (p && p->type != PropertyDescriptor::Generic && (!(flags & EnumberableOnly) || p->isEnumerable())) {
+ if (p && p->attrs.type() != PropertyAttributes::Generic && (!(flags & EnumberableOnly) || p->isEnumerable())) {
*index = arrayIndex - 1;
return p;
}