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>2022-05-20 17:32:07 +0300
committerJacques Lucke <jacques@blender.org>2022-05-20 17:32:14 +0300
commitde561280fc0b693dadf13dcb77d90b6363ca2c40 (patch)
tree431ddd516812ad24fa52c90b5e391b19904a607d /source/blender/blenlib/BLI_set.hh
parentb215fe82e8d422bb537797146a5d5e7be1eefb91 (diff)
Cleanup: don't use variable name that matches type alias
Diffstat (limited to 'source/blender/blenlib/BLI_set.hh')
-rw-r--r--source/blender/blenlib/BLI_set.hh4
1 files changed, 2 insertions, 2 deletions
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<Slot &>(iterator.current_slot());
+ Slot &slot = const_cast<Slot &>(it.current_slot());
BLI_assert(slot.is_occupied());
slot.remove();
removed_slots_++;