From f053853e87624a045438bacd4dd1494e91ae381f Mon Sep 17 00:00:00 2001 From: Renaud G Date: Fri, 27 Oct 2017 22:19:20 +0200 Subject: -c++11 update about for and nullptr. --- range.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'range.cpp') diff --git a/range.cpp b/range.cpp index 39a46ce..081e253 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)) { -- cgit v1.2.3-70-g09d2