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/keepdiceexecnode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'node/keepdiceexecnode.cpp') 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(m_numberOfDice),-1)) + for(auto& tmp : diceList.mid(static_cast(m_numberOfDice),-1)) { tmp->setHighlighted(false); } -- cgit v1.2.3-70-g09d2