file_util: In-class initialize data members

This commit is contained in:
Lioncash 2016-04-13 19:48:03 -04:00
parent 6c42d6bce9
commit 9b38494bcd
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