file_util: In-class initialize data members
This commit is contained in:
parent
655623ebb2
commit
5f51622e9d
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