diff options
Diffstat (limited to 'node/executionnode.cpp')
| -rw-r--r-- | node/executionnode.cpp | 3 |
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)); } |