diff options
| author | Lioncash <mathew1800@gmail.com> | 2015-05-28 20:28:48 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2015-05-28 20:54:55 -0400 |
| commit | ac26f8e79fbf640ba770a35c1f051c2816f6346f (patch) | |
| tree | 86b0b0da5ddfd5659eeaf39f07e314012798cd33 /Source/Core/DiscIO/NANDContentLoader.cpp | |
| parent | 6ff3fcee597663066c966a54ee51aab7fa166cd9 (diff) | |
Pass strings by const reference where possible
Diffstat (limited to 'Source/Core/DiscIO/NANDContentLoader.cpp')
| -rw-r--r-- | Source/Core/DiscIO/NANDContentLoader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DiscIO/NANDContentLoader.cpp b/Source/Core/DiscIO/NANDContentLoader.cpp index 715ac6e878..8c123da379 100644 --- a/Source/Core/DiscIO/NANDContentLoader.cpp +++ b/Source/Core/DiscIO/NANDContentLoader.cpp @@ -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; |
