Turn loops into range-based form
and some things suggested by cppcheck and compiler warnings.
This commit is contained in:
1 parent
2ff794d299
commit
404624bf0b
52 files changed
+199
-230
No files matched your search
@@ -102,7 +102,7 @@ public:
|
||||
while (it != expr.end())
|
||||
{
|
||||
char c = *it;
|
||||
it++;
|
||||
++it;
|
||||
if (c == '`')
|
||||
return false;
|
||||
if (c > 0 && c == otherDelim)
|
||||
@@ -140,7 +140,7 @@ public:
|
||||
if (!isalpha(c))
|
||||
break;
|
||||
name += c;
|
||||
it++;
|
||||
++it;
|
||||
}
|
||||
|
||||
ControlQualifier qualifier;
|
||||
|
||||
Reference in new issue
Block a user