Drawable Renderer (#1570), [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot]
2023-06-01 16:01:34 +00:00
committed by Bart Louwers
parent ee7f57fcb4
commit e771363d4b
2 changed files with 5 additions and 5 deletions

View File

@@ -100,10 +100,11 @@ void TileLayerGroup::observeDrawables(std::function<void(gfx::UniqueDrawable&)>
}
}
void TileLayerGroup::observeDrawables(mbgl::RenderPass pass, const OverscaledTileID& tileID,
void TileLayerGroup::observeDrawables(mbgl::RenderPass pass,
const OverscaledTileID& tileID,
std::function<void(const gfx::Drawable&)> f) const {
const auto range = impl->tileDrawables.equal_range({pass, tileID});
std::for_each(range.first, range.second, [&f](const auto& pair){ f(*pair.second); });
std::for_each(range.first, range.second, [&f](const auto& pair) { f(*pair.second); });
}
std::size_t TileLayerGroup::clearDrawables() {