[core] make Tile::getBucket const

This commit is contained in:
Ivo van Dongen
2017-04-12 16:34:15 +03:00
committed by Ivo van Dongen
parent 935cf531e4
commit d752235ec7
5 changed files with 5 additions and 5 deletions

View File

@@ -158,7 +158,7 @@ void GeometryTile::getIcons(IconDependencyMap iconDependencyMap) {
}
}
Bucket* GeometryTile::getBucket(const Layer& layer) {
Bucket* GeometryTile::getBucket(const Layer& layer) const {
const auto& buckets = layer.is<SymbolLayer>() ? symbolBuckets : nonSymbolBuckets;
const auto it = buckets.find(layer.baseImpl->id);
if (it == buckets.end()) {