diff options
| author | 2018-03-17 19:56:39 +0100 | |
|---|---|---|
| committer | 2018-03-17 19:56:39 +0100 | |
| commit | 5ff5516c8cab5599375234a9a1898b737e8541f2 (patch) | |
| tree | bb500dbc5f155fe007b7833a017ab53875127aaa /node/executionnode.cpp | |
| parent | dd5ec0eb06c439781a7f9f06211527f1c51f3165 (diff) | |
| download | OneRoll-5ff5516c8cab5599375234a9a1898b737e8541f2.tar.gz OneRoll-5ff5516c8cab5599375234a9a1898b737e8541f2.zip | |
-c++11 for loop (instead foreach)
Diffstat (limited to 'node/executionnode.cpp')
| -rw-r--r-- | node/executionnode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node/executionnode.cpp b/node/executionnode.cpp index 73272b4..fadc9fb 100644 --- a/node/executionnode.cpp +++ b/node/executionnode.cpp @@ -41,7 +41,7 @@ QMap<ExecutionNode::DICE_ERROR_CODE,QString> ExecutionNode::getExecutionErrorMap { if(nullptr!=m_nextNode) { - foreach (ExecutionNode::DICE_ERROR_CODE key, m_nextNode->getExecutionErrorMap().keys()) + for(ExecutionNode::DICE_ERROR_CODE key: m_nextNode->getExecutionErrorMap().keys()) { m_errors.insert(key,m_nextNode->getExecutionErrorMap().value(key)); } |