diff options
| author | 2018-03-17 19:56:39 +0100 | |
|---|---|---|
| committer | 2018-03-17 19:56:39 +0100 | |
| commit | 5ff5516c8cab5599375234a9a1898b737e8541f2 (patch) | |
| tree | bb500dbc5f155fe007b7833a017ab53875127aaa /node/paintnode.cpp | |
| parent | dd5ec0eb06c439781a7f9f06211527f1c51f3165 (diff) | |
| download | OneRoll-5ff5516c8cab5599375234a9a1898b737e8541f2.tar.gz OneRoll-5ff5516c8cab5599375234a9a1898b737e8541f2.zip | |
-c++11 for loop (instead foreach)
Diffstat (limited to 'node/paintnode.cpp')
| -rw-r--r-- | node/paintnode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node/paintnode.cpp b/node/paintnode.cpp index 2770891..ddd19de 100644 --- a/node/paintnode.cpp +++ b/node/paintnode.cpp @@ -78,7 +78,7 @@ void PainterNode::run(ExecutionNode* previous) { QList<Die*> diceList=previousDiceResult->getResultList(); int pastDice=0; - foreach(ColorItem item, m_colors) + for(ColorItem item:m_colors) { int current=item.colorNumber(); QList<Die*>::iterator it; |