mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-22 22:05:47 +00:00
common/fs/file: Default initialize IOFile members
Prevents a potential uninitialized read vector in the move constructor.
This commit is contained in:
parent
53bc58008f
commit
0b7cade7b8
1 changed files with 2 additions and 2 deletions
|
@ -441,8 +441,8 @@ public:
|
|||
|
||||
private:
|
||||
std::filesystem::path file_path;
|
||||
FileAccessMode file_access_mode;
|
||||
FileType file_type;
|
||||
FileAccessMode file_access_mode{};
|
||||
FileType file_type{};
|
||||
|
||||
std::FILE* file = nullptr;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue