mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-22 02:32:36 +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 New Issue
Block a user