diff options
| author | Lioncash <mathew1800@gmail.com> | 2015-05-28 21:26:06 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2015-05-28 21:26:06 -0400 |
| commit | 68d6f07b5c7251dce346f3eaf15eb637b869ab4b (patch) | |
| tree | 86b0b0da5ddfd5659eeaf39f07e314012798cd33 /Source/Core/DiscIO/NANDContentLoader.cpp | |
| parent | 6ff3fcee597663066c966a54ee51aab7fa166cd9 (diff) | |
| parent | ac26f8e79fbf640ba770a35c1f051c2816f6346f (diff) | |
Merge pull request #2476 from lioncash/string
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; |
