Cleanup: compiler warning with clang 10

This commit is contained in:
Brecht Van Lommel 2020-04-30 12:19:37 +02:00
parent 51aa0ea58f
commit 805a78e396
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ void BlenderSync::sync_recalc(BL::Depsgraph &b_depsgraph, BL::SpaceView3D &b_v3d
}
if (dicing_prop_changed) {
for (const pair<GeometryKey, Geometry *> &iter : geometry_map.key_to_scene_data()) {
for (const pair<const GeometryKey, Geometry *> &iter : geometry_map.key_to_scene_data()) {
Geometry *geom = iter.second;
if (geom->type == Geometry::MESH) {
Mesh *mesh = static_cast<Mesh *>(geom);