mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
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…
x
Reference in New Issue
Block a user