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:
parent
fe014dac06
commit
14abdab314
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue