From 35df354e4aa4b1c848dfa0e1d80951e103caacea Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Thu, 25 Feb 2021 16:55:08 +0100 Subject: [PATCH] Cleanup: quiet warning "loop variable 'item' is always a copy because the range of type ..." --- source/blender/blenkernel/intern/attribute_access.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/blenkernel/intern/attribute_access.cc b/source/blender/blenkernel/intern/attribute_access.cc index 2146dc805d1..8974190d0e3 100644 --- a/source/blender/blenkernel/intern/attribute_access.cc +++ b/source/blender/blenkernel/intern/attribute_access.cc @@ -1221,7 +1221,7 @@ class VertexGroupsAttributeProvider final : public DynamicAttributesProvider { { BLI_assert(component.type() == GeometryComponentType::Mesh); const MeshComponent &mesh_component = static_cast(component); - for (const auto &item : mesh_component.vertex_group_names().items()) { + for (const auto item : mesh_component.vertex_group_names().items()) { const StringRefNull name = item.key; const int vertex_group_index = item.value; if (vertex_group_index >= 0) {