diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/nodes/geometry/node_geometry_util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/geometry/node_geometry_util.cc b/source/blender/nodes/geometry/node_geometry_util.cc index 3e30658e056..c0f8fbade49 100644 --- a/source/blender/nodes/geometry/node_geometry_util.cc +++ b/source/blender/nodes/geometry/node_geometry_util.cc @@ -38,7 +38,7 @@ void gather_attribute_info(Map<std::string, AttributeInfo> &attributes, } const GeometryComponent &component = *set.get_component_for_read(component_type); - for (const std::string name : component.attribute_names()) { + for (const std::string &name : component.attribute_names()) { if (ignored_attributes.contains(name)) { continue; } |