mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-30 09:15:38 +00:00
minor performance improvement
This commit is contained in:
parent
4f304cfff2
commit
d59856af5c
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ class DirArchive: public Ogre::FileSystemArchive
|
|||
|
||||
//std::transform(file.begin(), file.end(), file.begin(), tolower);
|
||||
//boost::filesystem::path folderpath = folder;
|
||||
std::vector<std::string> current = m[folder];
|
||||
std::vector<std::string>& current = m[folder];
|
||||
|
||||
for(std::vector<std::string>::iterator iter = current.begin(); iter != current.end(); iter++)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue