From ab824f0ac38753331b5a9e6cd9d3b7c8dfda2ea4 Mon Sep 17 00:00:00 2001 From: Guillaume P Date: Sat, 3 May 2014 14:39:09 +0200 Subject: [PATCH] Remove the use of cbegin and cend. (c++11 features) --- src/graphics/irr_driver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graphics/irr_driver.cpp b/src/graphics/irr_driver.cpp index 703f72d2d..8ca8b0e03 100644 --- a/src/graphics/irr_driver.cpp +++ b/src/graphics/irr_driver.cpp @@ -1254,7 +1254,7 @@ std::string IrrDriver::generateSmallerTextures(const std::string& dir) file_manager->listFiles(files, dir, true); std::set::const_iterator it; - for (it = files.cbegin(); it != files.cend(); ++it) + for (it = files.begin(); it != files.end(); ++it) { std::string ext = StringUtils::toLowerCase(StringUtils::getExtension(*it)); if (ext == "png" || ext == "jpg" || ext == "jpeg" || ext == "bmp")