Remove the use of cbegin and cend. (c++11 features)

This commit is contained in:
Guillaume P 2014-05-03 14:39:09 +02:00
parent a863757365
commit ab824f0ac3

View File

@ -1254,7 +1254,7 @@ std::string IrrDriver::generateSmallerTextures(const std::string& dir)
file_manager->listFiles(files, dir, true); file_manager->listFiles(files, dir, true);
std::set<std::string>::const_iterator it; std::set<std::string>::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)); std::string ext = StringUtils::toLowerCase(StringUtils::getExtension(*it));
if (ext == "png" || ext == "jpg" || ext == "jpeg" || ext == "bmp") if (ext == "png" || ext == "jpg" || ext == "jpeg" || ext == "bmp")