aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2018-01-25 01:06:24 +0100
committerRenaud G <renaud@rolisteam.org>2018-01-25 01:06:24 +0100
commitb16ce0dfa892df424c133cc5b22b3dc4760ca303 (patch)
treea85910a727cc075defa8ff16dbbb43c9b19926f4
parentbb9eeae7d5798d5c2c8579949c544b55be1bcbca (diff)
downloadOneRoll-b16ce0dfa892df424c133cc5b22b3dc4760ca303.tar.gz
OneRoll-b16ce0dfa892df424c133cc5b22b3dc4760ca303.zip
-C++11 for loop.
-rw-r--r--range.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/range.cpp b/range.cpp
index 39a46ce..51a59a7 100644
--- a/range.cpp
+++ b/range.cpp
@@ -41,7 +41,7 @@ qint64 Range::hasValid(Die* m,bool recursive, bool unhighlight) const
qint64 result = 0;
if(recursive)
{
- foreach(qint64 value, m->getListValue())
+ for(qint64 value : m->getListValue())
{
if((value>=m_start)&&(value<=m_end))
{