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/keyboardconfig.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/keyboardconfig.cpp') diff --git a/src/keyboardconfig.cpp b/src/keyboardconfig.cpp index 9e7931626..33c1e3237 100644 --- a/src/keyboardconfig.cpp +++ b/src/keyboardconfig.cpp @@ -194,8 +194,7 @@ void KeyboardConfig::handleDeActicateKey(const int key) void KeyboardConfig::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-70-g09d2