Merge pull request #9628 from Dentomologist/wiiutils_fix_reference_to_temporary_subobject

WiiUtils: Remove reference qualifier
This commit is contained in:
Léo Lam 2021-04-07 01:46:45 +02:00 committed by GitHub
commit 3b6fdb74f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ static bool ImportWAD(IOS::HLE::Kernel& ios, const DiscIO::VolumeWAD& wad,
// they are not present. So ensure they exist and create them if they don't.
const bool shop_logs_exist = [&] {
const std::array<u8, 32> dummy_data{};
for (const std::string& path : {"/shared2/ec/shopsetu.log", "/shared2/succession/shop.log"})
for (const std::string path : {"/shared2/ec/shopsetu.log", "/shared2/succession/shop.log"})
{
constexpr IOS::HLE::FS::Mode rw_mode = IOS::HLE::FS::Mode::ReadWrite;
if (fs->CreateFullPath(IOS::SYSMENU_UID, IOS::SYSMENU_GID, path, 0,