diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-01-19 15:25:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-01-20 17:05:57 +0300 |
commit | 48071e171de41a23197c7328ba038331a936e0eb (patch) | |
tree | 73c7ef1da8e5dd76469d75c0336d88c3371e4263 /src/joystick.cpp | |
parent | d07fba228b5251862ad670e1d4f079c9456fab4b (diff) | |
download | ManaVerse-48071e171de41a23197c7328ba038331a936e0eb.tar.gz ManaVerse-48071e171de41a23197c7328ba038331a936e0eb.tar.bz2 ManaVerse-48071e171de41a23197c7328ba038331a936e0eb.tar.xz ManaVerse-48071e171de41a23197c7328ba038331a936e0eb.zip |
Replace for to FOR_EACH in some classes.
Diffstat (limited to 'src/joystick.cpp')
-rw-r--r-- | src/joystick.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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; |