store glyphAtlas by value in Map object, pass by ref

change hasData signiture to expect ```StyleLayer const&```
This commit is contained in:
artemp
2014-10-29 13:44:26 -04:00
parent 3723481319
commit 3b5b15a4e4
11 changed files with 22 additions and 28 deletions

View File

@@ -29,6 +29,6 @@ void RasterTileData::render(Painter &painter, util::ptr<StyleLayer> layer_desc,
bucket.render(painter, layer_desc, id, matrix);
}
bool RasterTileData::hasData(util::ptr<StyleLayer> /*layer_desc*/) const {
bool RasterTileData::hasData(StyleLayer const& /*layer_desc*/) const {
return bucket.hasData();
}