From 48071e171de41a23197c7328ba038331a936e0eb Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 19 Jan 2013 15:25:24 +0300 Subject: Replace for to FOR_EACH in some classes. --- src/joystick.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/joystick.cpp') diff --git a/src/joystick.cpp b/src/joystick.cpp index 3b88e5668..42dd14bd1 100644 --- a/src/joystick.cpp +++ b/src/joystick.cpp @@ -334,8 +334,7 @@ bool Joystick::validate() const void Joystick::handleRepeat(const int time) { - for (KeyTimeMapIter it = mKeyTimeMap.begin(), it_end = mKeyTimeMap.end(); - it != it_end; ++ it) + FOR_EACH (KeyTimeMapIter, it, mKeyTimeMap) { bool repeat(false); const int key = (*it).first; -- cgit v1.2.3-60-g2f50