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/graphicsmanager.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/graphicsmanager.cpp') diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp index b6cb51455..ba3ca95ad 100644 --- a/src/graphicsmanager.cpp +++ b/src/graphicsmanager.cpp @@ -283,9 +283,7 @@ void GraphicsManager::setVideoMode() std::string str = strprintf("%dx%d", width, height); if (width != 0 && height != 0) { - for (StringVectCIter it = videoModes.begin(), - it_end = videoModes.end(); - it != it_end; ++ it) + FOR_EACH (StringVectCIter, it, videoModes) { if (str == *it) { -- cgit v1.2.3-70-g09d2