Skip to content

Commit

Permalink
Ensure QListIterator gets defined inside the qtnamespace
Browse files Browse the repository at this point in the history
Change-Id: I9078893d530836396453c8cc0d2870d77989f076
Reviewed-by: Simon Hausmann <[email protected]>
  • Loading branch information
laknoll committed Oct 30, 2019
1 parent ce59d0e commit 7f70a4a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/corelib/tools/qlist.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,12 @@
#include <QtCore/qcontainerfwd.h>

#if !defined(QT_NO_JAVA_STYLE_ITERATORS)
QT_BEGIN_NAMESPACE
template<typename T>
using QMutableListIterator = QMutableVectorIterator<T>;
template<typename T>
using QListIterator = QVectorIterator<T>;
QT_END_NAMESPACE
#endif

#include <QtCore/qbytearraylist.h>
Expand Down

0 comments on commit 7f70a4a

Please sign in to comment.