common/fs/file: Default initialize IOFile members

Prevents a potential uninitialized read vector in the move constructor.
This commit is contained in:
Lioncash 2021-05-28 01:46:26 -04:00
parent 53bc58008f
commit 0b7cade7b8

View file

@ -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;
};