mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-21 03:54:57 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue