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:
1 parent
fe014dac06
commit
14abdab314
1 file changed
+1
-1
@@ -36,7 +36,7 @@ static size_t GetNonArrayEntrySize(SysConf::Entry::Type type)
|
|||||||
return 0;
|
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();
|
Load();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user