Pass strings by const reference where possible
This commit is contained in:
1 parent
6ff3fcee59
commit
ac26f8e79f
21 files changed
+32
-32
No files matched your search
@@ -439,7 +439,7 @@ void cUIDsys::GetTitleIDs(std::vector<u64>& _TitleIDs, bool _owned)
|
||||
}
|
||||
}
|
||||
|
||||
u64 CNANDContentManager::Install_WiiWAD(std::string &fileName)
|
||||
u64 CNANDContentManager::Install_WiiWAD(const std::string& fileName)
|
||||
{
|
||||
if (fileName.find(".wad") == std::string::npos)
|
||||
return 0;
|
||||
|
||||
Reference in new issue
Block a user