Cleanup: quiet compiler warning on macos

This commit is contained in:
Jacques Lucke 2021-04-17 19:19:46 +02:00
parent fa2c00ae91
commit ddbfae7a0d
1 changed files with 1 additions and 1 deletions

View File

@ -1212,7 +1212,7 @@ static void log_ui_hints(const DSocket socket,
bNodeTree *btree_cow = node->btree();
bNodeTree *btree_original = (bNodeTree *)DEG_get_original_id((ID *)btree_cow);
const NodeTreeEvaluationContext context{*self_object, nmd->modifier};
for (const GPointer data : values) {
for (const GPointer &data : values) {
if (data.type() == &CPPType::get<GeometrySet>()) {
const GeometrySet &geometry_set = *(const GeometrySet *)data.get();
blender::bke::geometry_set_instances_attribute_foreach(