Replace foreach with ranged for and set QT_NO_FOREACH
Make containers const where they obviously should be, iterate over
references where it's clearly possible.
Cherry-pick of 2c8c5dca44aba5612cc67b04dd3c7e5fc4919b19.
Change-Id: Ie55a58873b48bbb60ac49790db612f85777e6ceb
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
| commit | da870b829cc860ca394af836733dbcc002016061 |
| parent | 7c00aa7aa1476fc45adc5abf54185545ecc4c14e |
| author | Volker Hilsheimer <volker.hilsheimer@qt.io> |
| committer | Volker Hilsheimer <volker.hilsheimer@qt.io> |
| commit time | Tue, 26 Jul 2022 08:34:51 +0000 |
- M src/location/CMakeLists.txt
- M src/location/declarativemaps/qdeclarativegeomap.cpp
- M src/location/declarativemaps/qdeclarativegeomapitembase.cpp
- M src/location/declarativemaps/qdeclarativegeomapquickitem.cpp
- M src/location/declarativemaps/qdeclarativegeoserviceprovider.cpp
- M src/location/declarativemaps/qgeomapitemgeometry.cpp
- M src/location/declarativeplaces/qdeclarativeplace.cpp
- M src/location/declarativeplaces/qdeclarativeplaceicon.cpp
- M src/location/doc/snippets/places/requesthandler.h
- M src/location/maps/qgeofiletilecache.cpp
- M src/location/maps/qgeorouteparserosrmv4.cpp
- M src/location/maps/qgeorouteparserosrmv5.cpp
- M src/location/maps/qgeoserviceprovider.cpp
- M src/location/places/qplacematchrequest.cpp
- M src/plugins/geoservices/esri/CMakeLists.txt
- M src/plugins/geoservices/esri/georoutingmanagerengine_esri.cpp
- M src/plugins/geoservices/esri/geotiledmappingmanagerengine_esri.cpp
- M src/plugins/geoservices/esri/placemanagerengine_esri.cpp
- M src/plugins/geoservices/itemsoverlay/CMakeLists.txt
- M src/plugins/geoservices/mapbox/CMakeLists.txt
- M src/plugins/geoservices/nokia/CMakeLists.txt
- M src/plugins/geoservices/nokia/qgeoroutereply_nokia.cpp
- M src/plugins/geoservices/nokia/qgeoroutingmanagerengine_nokia.cpp
- M src/plugins/geoservices/nokia/qgeoserviceproviderplugin_nokia.cpp
- M src/plugins/geoservices/nokia/qgeotiledmappingmanagerengine_nokia.cpp
- M src/plugins/geoservices/nokia/qplacemanagerengine_nokiav2.cpp
- M src/plugins/geoservices/osm/CMakeLists.txt
- M src/plugins/geoservices/osm/qgeotiledmappingmanagerengineosm.cpp
- M src/plugins/geoservices/osm/qgeotilefetcherosm.cpp
- M src/plugins/geoservices/osm/qplacemanagerengineosm.cpp
- M tests/auto/geotestplugin/qplacemanagerengine_test.h
- M tests/auto/nokia_services/places_semiauto/tst_places.cpp
- M tests/auto/nokia_services/routing/tst_routing.cpp
- M tests/auto/placemanager_utils/placemanager_utils.cpp
- M tests/auto/qplace/tst_qplace.cpp