diff options
author | Lars Knoll <lars.knoll@qt.io> | 2018-08-02 23:02:08 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2018-08-04 09:16:06 +0000 |
commit | 60eab28305e7b51fe8efcb828628001674919408 (patch) | |
tree | 88179fc79d4a5f9461115ede41671126ec4ffc54 /src/qml/jsruntime/qv4objectiterator_p.h | |
parent | ab3d0c0ace581500797ec1d4c0b9042ddfe64df3 (diff) |
Simplify ObjectIterator::next
Use PropertyKey instead of two out pointers
Change-Id: I4f57bcb36fd412f19f0ed116042f7b094b5785dc
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4objectiterator_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4objectiterator_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4objectiterator_p.h b/src/qml/jsruntime/qv4objectiterator_p.h index d6160b9dd0..8d7b5512d4 100644 --- a/src/qml/jsruntime/qv4objectiterator_p.h +++ b/src/qml/jsruntime/qv4objectiterator_p.h @@ -82,7 +82,7 @@ struct Q_QML_EXPORT ObjectIterator delete iterator; } - void next(Value *name, uint *index, Property *pd, PropertyAttributes *attributes = nullptr); + PropertyKey next(Property *pd = nullptr, PropertyAttributes *attributes = nullptr); ReturnedValue nextPropertyName(Value *value); ReturnedValue nextPropertyNameAsString(Value *value); ReturnedValue nextPropertyNameAsString(); |