IOFile: Get rid of IOFile's ReleaseHandle function

Transfer of handles should be done via std::move.
This commit is contained in:
Lioncash
2017-01-11 18:00:22 -05:00
parent ed6e346664
commit 6f08ef9a25
6 changed files with 27 additions and 29 deletions

View File

@ -212,8 +212,6 @@ public:
// m_good is set to false when a read, write or other function fails
bool IsGood() const { return m_good; }
explicit operator bool() const { return IsGood() && IsOpen(); }
std::FILE* ReleaseHandle();
std::FILE* GetHandle() { return m_file; }
void SetHandle(std::FILE* file);