Skip to content

Commit

Permalink
Fix MSCV compiler warning
Browse files Browse the repository at this point in the history
reg.: declaration of 'item' hides function parameter (C4457)
  • Loading branch information
Jojo-Schmitz committed Nov 22, 2023
1 parent 6b0208a commit 7d686a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/engraving/rendering/dev/debugpaint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,8 @@ static void paintRecursive(mu::draw::Painter& painter, const EngravingItem* item
{
DebugPaint::paintTreeElement(painter, item);

for (const EngravingItem* item : item->childrenItems()) {
paintRecursive(painter, item);
for (const EngravingItem* eItem : item->childrenItems()) {
paintRecursive(painter, eItem);
}
}

Expand Down

0 comments on commit 7d686a8

Please sign in to comment.