From 0fcbfc01baf4dc8fc42fe9a40033be14808c2c7f Mon Sep 17 00:00:00 2001 From: Renaud G Date: Sat, 5 Jan 2019 18:17:17 +0100 Subject: clazy warnings --- node/paintnode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'node/paintnode.cpp') diff --git a/node/paintnode.cpp b/node/paintnode.cpp index ddd19de..79aee60 100644 --- a/node/paintnode.cpp +++ b/node/paintnode.cpp @@ -78,7 +78,7 @@ void PainterNode::run(ExecutionNode* previous) { QList diceList=previousDiceResult->getResultList(); int pastDice=0; - for(ColorItem item:m_colors) + for(ColorItem& item : m_colors) { int current=item.colorNumber(); QList::iterator it; -- cgit v1.2.3-70-g09d2