diff options
| author | bunnei <bunneidev@gmail.com> | 2018-10-16 11:21:13 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-10-16 11:21:13 -0400 |
| commit | 81bd8ee328f9a5cb24555b93f3df5e78cd885661 (patch) | |
| tree | 2df1a3b0722373a00173fae49df3be3c0445d92d /src/core/file_sys/patch_manager.cpp | |
| parent | ac4ca50fbbb3929d50271851dfcf0dc481964934 (diff) | |
| parent | 92495f4f708b0b5ea863736e83259fa9468086b7 (diff) | |
Merge pull request #1508 from lioncash/unique-reg
file_sys/registered_cache: Use unique_ptr and regular pointers instead of shared_ptrs where applicable
Diffstat (limited to 'src/core/file_sys/patch_manager.cpp')
| -rw-r--r-- | src/core/file_sys/patch_manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/file_sys/patch_manager.cpp b/src/core/file_sys/patch_manager.cpp index 019caebe93..c15ac8e19f 100644 --- a/src/core/file_sys/patch_manager.cpp +++ b/src/core/file_sys/patch_manager.cpp @@ -346,7 +346,7 @@ std::map<std::string, std::string, std::less<>> PatchManager::GetPatchVersionNam } std::pair<std::unique_ptr<NACP>, VirtualFile> PatchManager::GetControlMetadata() const { - const auto& installed{Service::FileSystem::GetUnionContents()}; + const auto installed{Service::FileSystem::GetUnionContents()}; const auto base_control_nca = installed->GetEntry(title_id, ContentRecordType::Control); if (base_control_nca == nullptr) |
