mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-01-02 14:50:16 +01:00
fs: Optimize filesystem handle reconstruction
This commit is contained in:
parent
0bd64a0e72
commit
f7b845d49c
|
|
@ -220,6 +220,7 @@ namespace fs
|
|||
template <typename... Args>
|
||||
bool open(Args&&... args)
|
||||
{
|
||||
m_file.reset();
|
||||
*this = fs::file(std::forward<Args>(args)...);
|
||||
return m_file.operator bool();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue