aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node/paintnode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/paintnode.cpp')
-rw-r--r--node/paintnode.cpp2
1 files changed, 1 insertions, 1 deletions
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<Die*> diceList=previousDiceResult->getResultList();
int pastDice=0;
- for(ColorItem item:m_colors)
+ for(ColorItem& item : m_colors)
{
int current=item.colorNumber();
QList<Die*>::iterator it;