Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2021-02-25 18:55:08 +0300
committerJacques Lucke <jacques@blender.org>2021-02-25 18:56:01 +0300
commit35df354e4aa4b1c848dfa0e1d80951e103caacea (patch)
tree900c1916450d2baca7c9a7cfb96fbaa8618d7d5e /source/blender/blenkernel
parent400f2e4be67b8db1b85cacdcc21ca4c2d7bda2b3 (diff)
Cleanup: quiet warning
"loop variable 'item' is always a copy because the range of type ..."
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r--source/blender/blenkernel/intern/attribute_access.cc2
1 files changed, 1 insertions, 1 deletions
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<const MeshComponent &>(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) {