Advance a pathLength variable instead of calling .erase() in GetFromPath

This commit is contained in:
KentuckyCompass committed 2015-09-07 18:43:10 -07:00
1 parent 3f36b476ad
commit aed469ef9a
2 files changed
+41 -32

No files matched your search

+1 -1
View File
@@ -100,7 +100,7 @@ private:
std::vector<std::string> restrictTree;
void ReadDirectory(u32 startsector, u32 dirsize, TreeEntry *root, size_t level);
TreeEntry *GetFromPath(std::string path, bool catchError = true);
TreeEntry *GetFromPath(const std::string &path, bool catchError = true);
std::string EntryFullPath(TreeEntry *e);
};