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-05-10 17:10:25 +00:00
committed by Bart Louwers
parent 0c6f2f2a7f
commit bbb8bf3c1e

View File

@@ -346,8 +346,7 @@ void RenderFillLayer::update(const int32_t layerIndex,
if (!renderTiles || renderTiles->empty()) {
if (!tileDrawables.empty()) {
removeDrawables<decltype(tileDrawables)::const_iterator>(
tileDrawables.cbegin(), tileDrawables.cend(), changes,
[](auto& ii) { return ii->second->getId(); });
tileDrawables.cbegin(), tileDrawables.cend(), changes, [](auto& ii) { return ii->second->getId(); });
tileDrawables.clear();
}
return;