From 60eab28305e7b51fe8efcb828628001674919408 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Thu, 2 Aug 2018 23:02:08 +0200 Subject: Simplify ObjectIterator::next Use PropertyKey instead of two out pointers Change-Id: I4f57bcb36fd412f19f0ed116042f7b094b5785dc Reviewed-by: Simon Hausmann --- src/qml/jsruntime/qv4objectiterator_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qml/jsruntime/qv4objectiterator_p.h') 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(); -- cgit v1.2.3