From 1da72c7792e4f68fd44579a713288f6772c193b4 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 2 May 2021 02:34:40 -0400 Subject: file_sys: Resolve cases of variable shadowing Brings us closer to enabling -Wshadow as an error in the core code. --- src/core/file_sys/romfs_factory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/file_sys/romfs_factory.cpp') diff --git a/src/core/file_sys/romfs_factory.cpp b/src/core/file_sys/romfs_factory.cpp index f4e16e4be..de6ab721d 100644 --- a/src/core/file_sys/romfs_factory.cpp +++ b/src/core/file_sys/romfs_factory.cpp @@ -33,8 +33,8 @@ RomFSFactory::RomFSFactory(Loader::AppLoader& app_loader, ContentProvider& provi RomFSFactory::~RomFSFactory() = default; -void RomFSFactory::SetPackedUpdate(VirtualFile update_raw) { - this->update_raw = std::move(update_raw); +void RomFSFactory::SetPackedUpdate(VirtualFile update_raw_file) { + update_raw = std::move(update_raw_file); } ResultVal RomFSFactory::OpenCurrentProcess(u64 current_process_title_id) const { -- cgit v1.2.3