The loop was iterating over a temporary container, so it couldn't have changed it. Use a const auto variable to hold the container and port to ranged-for Task-number: QTBUG-115839 Change-Id: I66e7cbdb811666ca352cdf064b1228caa346d876 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> |
||
|---|---|---|
| .. | ||
| initmain | ||
| outformat | ||
| qabstractitemmodeltester | ||
| qsignalspy | ||
| selftests | ||
| tostring | ||
| CMakeLists.txt | ||