c++ - use const qualifier

This commit is contained in:
artemp
2014-10-29 11:57:39 -04:00
parent 7caac537b8
commit 3723481319

View File

@@ -304,7 +304,7 @@ void Painter::renderLayer(util::ptr<StyleLayer> layer_desc, const Tile::ID* id,
return;
}
StyleSource &style_source = *layer_desc->bucket->style_source;
StyleSource const& style_source = *layer_desc->bucket->style_source;
// Skip this layer if there is no data.
if (!style_source.source) {