From de561280fc0b693dadf13dcb77d90b6363ca2c40 Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Fri, 20 May 2022 16:32:07 +0200 Subject: Cleanup: don't use variable name that matches type alias --- source/blender/blenlib/BLI_set.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/blenlib/BLI_set.hh') diff --git a/source/blender/blenlib/BLI_set.hh b/source/blender/blenlib/BLI_set.hh index 391d31c2228..99acae43571 100644 --- a/source/blender/blenlib/BLI_set.hh +++ b/source/blender/blenlib/BLI_set.hh @@ -483,10 +483,10 @@ class Set { * while iterating over the set. However, after this method has been called, the removed element * must not be accessed anymore. */ - void remove(const Iterator &iterator) + void remove(const Iterator &it) { /* The const cast is valid because this method itself is not const. */ - Slot &slot = const_cast(iterator.current_slot()); + Slot &slot = const_cast(it.current_slot()); BLI_assert(slot.is_occupied()); slot.remove(); removed_slots_++; -- cgit v1.2.3