diff options
| author | 2016-04-13 19:48:03 -0400 | |
|---|---|---|
| committer | 2016-04-13 20:17:24 -0400 | |
| commit | 5f51622e9de0483519f47c749888fe7d5b120c79 (patch) | |
| tree | 69ccb0da7b4176b24bcc576c13ed1e58caadf885 /src/common/file_util.h | |
| parent | file_util: const qualify IOFile's Tell and GetSize functions (diff) | |
| download | yuzu-5f51622e9de0483519f47c749888fe7d5b120c79.tar.gz yuzu-5f51622e9de0483519f47c749888fe7d5b120c79.tar.xz yuzu-5f51622e9de0483519f47c749888fe7d5b120c79.zip | |
file_util: In-class initialize data members
Diffstat (limited to 'src/common/file_util.h')
| -rw-r--r-- | src/common/file_util.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/file_util.h b/src/common/file_util.h index d520130ce..b54a9fb72 100644 --- a/src/common/file_util.h +++ b/src/common/file_util.h | |||
| @@ -256,8 +256,8 @@ public: | |||
| 256 | void Clear() { m_good = true; std::clearerr(m_file); } | 256 | void Clear() { m_good = true; std::clearerr(m_file); } |
| 257 | 257 | ||
| 258 | private: | 258 | private: |
| 259 | std::FILE* m_file; | 259 | std::FILE* m_file = nullptr; |
| 260 | bool m_good; | 260 | bool m_good = true; |
| 261 | }; | 261 | }; |
| 262 | 262 | ||
| 263 | } // namespace | 263 | } // namespace |