From 404624bf0b0125e5a408021c616ee9b9e2dde382 Mon Sep 17 00:00:00 2001 From: Tillmann Karras Date: Wed, 12 Feb 2014 16:00:34 +0100 Subject: Turn loops into range-based form and some things suggested by cppcheck and compiler warnings. --- Source/Core/InputCommon/ControllerInterface/ExpressionParser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Core/InputCommon/ControllerInterface/ExpressionParser.cpp') diff --git a/Source/Core/InputCommon/ControllerInterface/ExpressionParser.cpp b/Source/Core/InputCommon/ControllerInterface/ExpressionParser.cpp index 7f7954d3d8..802d1b8f0f 100644 --- a/Source/Core/InputCommon/ControllerInterface/ExpressionParser.cpp +++ b/Source/Core/InputCommon/ControllerInterface/ExpressionParser.cpp @@ -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; -- cgit v1.2.3