(performance) Prefer prefix ++/-- operators for non-primitive types

This commit is contained in:
Jacek Jendrzej
2016-02-16 13:02:10 +01:00
parent 93f3007be1
commit 7db16952f6
5 changed files with 10 additions and 10 deletions

View File

@@ -322,7 +322,7 @@ void CFileBrowser::ChangeDir(const std::string & filename, int selection)
readDir(newpath, &allfiles);
// filter
CFileList::iterator file = allfiles.begin();
for(; file != allfiles.end() ; file++)
for(; file != allfiles.end() ; ++file)
{
if (Filter != NULL && !file->isDir() && use_filter)
{