diff options
| author | 2018-03-17 19:56:39 +0100 | |
|---|---|---|
| committer | 2018-03-17 19:56:39 +0100 | |
| commit | 5ff5516c8cab5599375234a9a1898b737e8541f2 (patch) | |
| tree | bb500dbc5f155fe007b7833a017ab53875127aaa /result | |
| parent | dd5ec0eb06c439781a7f9f06211527f1c51f3165 (diff) | |
| download | OneRoll-5ff5516c8cab5599375234a9a1898b737e8541f2.tar.gz OneRoll-5ff5516c8cab5599375234a9a1898b737e8541f2.zip | |
-c++11 for loop (instead foreach)
Diffstat (limited to 'result')
| -rw-r--r-- | result/diceresult.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/result/diceresult.cpp b/result/diceresult.cpp index f9f8253..b3d5e54 100644 --- a/result/diceresult.cpp +++ b/result/diceresult.cpp @@ -150,7 +150,7 @@ void DiceResult::setOperator(const Die::ArithmeticOperator& dieOperator) QString DiceResult::toString(bool wl) { QStringList scalarSum; - foreach(Die* die,m_diceValues) + for(Die* die:m_diceValues) { scalarSum << QString::number(die->getValue()); } |