[core] Fix performance-for-range-copy errors

As reported by clang-tidy-8.
This commit is contained in:
Thiago Marcos P. Santos
2020-03-20 12:38:09 +02:00
parent ef19a33866
commit cedb7368f1
5 changed files with 8 additions and 8 deletions

View File

@@ -352,7 +352,7 @@ void GeometryTile::querySourceFeatures(
return;
}
for (auto sourceLayer : *options.sourceLayers) {
for (const auto& sourceLayer : *options.sourceLayers) {
// Go throught all sourceLayers, if any
// to gather all the features
auto layer = getData()->getLayer(sourceLayer);