mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 19:15:46 +00:00
file_util: In-class initialize data members
This commit is contained in:
parent
6c42d6bce9
commit
9b38494bcd
2 changed files with 4 additions and 6 deletions
|
@ -256,8 +256,8 @@ public:
|
|||
void Clear() { m_good = true; std::clearerr(m_file); }
|
||||
|
||||
private:
|
||||
std::FILE* m_file;
|
||||
bool m_good;
|
||||
std::FILE* m_file = nullptr;
|
||||
bool m_good = true;
|
||||
};
|
||||
|
||||
} // namespace
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue