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

This commit is contained in:
lainon committed 2022-09-30 12:31:32 +03:00
1 parent fec708489a
commit b304551747
22 files changed
+41 -34

No files matched your search

+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;