make more members of StyleLayer const

This commit is contained in:
Konstantin Käfer
2014-06-27 18:39:42 +02:00
parent 881c0f1412
commit 48019ae85c
5 changed files with 64 additions and 29 deletions

View File

@@ -74,7 +74,7 @@ void TileParser::parseStyleLayers(std::shared_ptr<StyleLayerGroup> layers) {
return;
}
if (layer_desc->id == "background") {
if (layer_desc->isBackground()) {
// background is a special, fake bucket
continue;
} else if (layer_desc->layers) {