forked from qt-creator/qt-creator
The iterator type of QVector is just (const) T *, so we cannot call ::reference on it directly. Access via std::iterator_traits instead. This is especially interesting in the light of Qt 6 replacing QList with QVector. Change-Id: Ib4e84f61302822e51b8984e2a44fea874efce81d Reviewed-by: hjk <hjk@qt.io>