SysConf: std::move fs pointer in constructor

Just gets rid of a trivial atomic reference count increment and
decrement. Not a super heavyweight thing, but it is essentially "free"
to get rid of.
This commit is contained in:
Lioncash 2023-12-14 14:01:15 -05:00
parent fe014dac06
commit 14abdab314

View File

@ -36,7 +36,7 @@ static size_t GetNonArrayEntrySize(SysConf::Entry::Type type)
return 0;
}
}
SysConf::SysConf(std::shared_ptr<IOS::HLE::FS::FileSystem> fs) : m_fs{fs}
SysConf::SysConf(std::shared_ptr<IOS::HLE::FS::FileSystem> fs) : m_fs{std::move(fs)}
{
Load();
}