diff options
Diffstat (limited to 'node/keepdiceexecnode.cpp')
| -rw-r--r-- | node/keepdiceexecnode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node/keepdiceexecnode.cpp b/node/keepdiceexecnode.cpp index dbd1591..40fd227 100644 --- a/node/keepdiceexecnode.cpp +++ b/node/keepdiceexecnode.cpp @@ -69,7 +69,7 @@ void KeepDiceExecNode::run(ExecutionNode* previous) m_errors.insert(TOO_MANY_DICE,QObject::tr(" You ask to keep %1 dice but the result only has %2").arg(m_numberOfDice).arg(diceList.size())); } - for(Die* tmp : diceList.mid(static_cast<int>(m_numberOfDice),-1)) + for(auto& tmp : diceList.mid(static_cast<int>(m_numberOfDice),-1)) { tmp->setHighlighted(false); } |