diff options
Diffstat (limited to 'src/xmlpatterns/schema/qxsdstatemachine_p.h')
-rw-r--r-- | src/xmlpatterns/schema/qxsdstatemachine_p.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/xmlpatterns/schema/qxsdstatemachine_p.h b/src/xmlpatterns/schema/qxsdstatemachine_p.h index 0ec8eb4..e535c8b 100644 --- a/src/xmlpatterns/schema/qxsdstatemachine_p.h +++ b/src/xmlpatterns/schema/qxsdstatemachine_p.h @@ -261,9 +261,7 @@ namespace QPatternist { QSet<StateId> result; - QSetIterator<StateId> it(states); - while (it.hasNext()) { // iterate over all given states - const StateId state = it.next(); + for (const StateId state : states) { // get the transition table for the current state const QHash<TransitionType, QVector<StateId> > transitions = m_transitions.value(state); |