diff options
| author | 2016-12-04 12:48:54 +0100 | |
|---|---|---|
| committer | 2016-12-04 12:48:54 +0100 | |
| commit | ff98e5b760ebc6891b26de703b3dce40127b2ee6 (patch) | |
| tree | d990ee73530176632458a7b6ea070f0b15077d43 | |
| parent | f6aaef1b9a78cc281251cf823d263fb6a4e9c047 (diff) | |
| download | OneRoll-ff98e5b760ebc6891b26de703b3dce40127b2ee6.tar.gz OneRoll-ff98e5b760ebc6891b26de703b3dce40127b2ee6.zip | |
-use for each syntax from C++11
| -rw-r--r-- | operationcondition.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/operationcondition.cpp b/operationcondition.cpp index a4ac2bd..262ab97 100644 --- a/operationcondition.cpp +++ b/operationcondition.cpp @@ -50,7 +50,7 @@ qint64 OperationCondition::hasValid(Die* b,bool recursive,bool unhighlight) cons } qint64 sum= 0; - foreach(qint64 value, listValues) + for(qint64 value: listValues) { switch(m_operator) { |