Clang tidy/format fixes for fix_stable_vector_memory_leak

This commit is contained in:
AdenKoperczak 2025-03-14 12:31:37 -04:00
parent 61ac1e5612
commit 3ef794a25e

View file

@ -1214,6 +1214,8 @@ void MapWidgetImpl::AddLayers()
break;
}
}
// id_ is always < 4, so this is safe
// NOLINTNEXTLINE(cppcoreguidelines-pro-bounds-constant-array-index)
else if (customLayer.displayed_[id_])
{
// If the layer is displayed for the current map, add it