aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node/executionnode.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/executionnode.cpp
parent0ead8d42d93ee5d91519f006a84a942109bf4f36 (diff)
downloadOneRoll-0fcbfc01baf4dc8fc42fe9a40033be14808c2c7f.tar.gz
OneRoll-0fcbfc01baf4dc8fc42fe9a40033be14808c2c7f.zip
clazy warnings
Diffstat (limited to 'node/executionnode.cpp')
-rw-r--r--node/executionnode.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/node/executionnode.cpp b/node/executionnode.cpp
index d8e21a3..5b001fb 100644
--- a/node/executionnode.cpp
+++ b/node/executionnode.cpp
@@ -41,7 +41,8 @@ QMap<ExecutionNode::DICE_ERROR_CODE,QString> ExecutionNode::getExecutionErrorMap
{
if(nullptr!=m_nextNode)
{
- for(ExecutionNode::DICE_ERROR_CODE key: m_nextNode->getExecutionErrorMap().keys())
+ auto const& keys = m_nextNode->getExecutionErrorMap().keys();
+ for(auto& key: keys)
{
m_errors.insert(key,m_nextNode->getExecutionErrorMap().value(key));
}