Code readability, vec reserve() and remove excess c_str()

This commit is contained in:
lainon
2022-09-30 12:31:32 +03:00
parent fec708489a
commit b304551747
22 changed files with 41 additions and 34 deletions
+1 -1
View File
@@ -329,7 +329,7 @@ int VirtualDiscFileSystem::OpenFile(std::string filename, FileAccess access, con
entry.size = 0;
entry.startOffset = 0;
if (filename == "")
if (filename.empty())
{
entry.type = VFILETYPE_ISO;
entry.fileIndex = -1;