aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node/keepdiceexecnode.cpp
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2019-01-05 18:17:17 +0100
committerRenaud G <renaud@rolisteam.org>2019-01-05 18:17:17 +0100
commit0fcbfc01baf4dc8fc42fe9a40033be14808c2c7f (patch)
treeaa3eac1c1d87d49d133a28916d0c49b901af5578 /node/keepdiceexecnode.cpp
parent0ead8d42d93ee5d91519f006a84a942109bf4f36 (diff)
downloadOneRoll-0fcbfc01baf4dc8fc42fe9a40033be14808c2c7f.tar.gz
OneRoll-0fcbfc01baf4dc8fc42fe9a40033be14808c2c7f.zip
clazy warnings
Diffstat (limited to 'node/keepdiceexecnode.cpp')
-rw-r--r--node/keepdiceexecnode.cpp2
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);
}