file_util: In-class initialize data members

This commit is contained in:
Lioncash 2016-04-13 19:48:03 -04:00
parent 655623ebb2
commit 5f51622e9d
2 changed files with 4 additions and 6 deletions

View file

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