mirror of https://github.com/libAthena/athena.git
Minor file I/O tweaks
This commit is contained in:
parent
bedcf128ac
commit
b6b54d0921
|
@ -59,8 +59,8 @@ void FileReader::open()
|
|||
return;
|
||||
}
|
||||
|
||||
// ensure we're at the beginning of the file
|
||||
rewind(m_fileHandle);
|
||||
// reset error
|
||||
m_hasError = false;
|
||||
}
|
||||
|
||||
void FileReader::close()
|
||||
|
|
|
@ -70,8 +70,8 @@ void FileWriter::open(bool overwrite)
|
|||
return;
|
||||
}
|
||||
|
||||
// ensure we're at the beginning of the file
|
||||
rewind(m_fileHandle);
|
||||
// reset error
|
||||
m_hasError = false;
|
||||
}
|
||||
|
||||
void FileWriter::close()
|
||||
|
|
Loading…
Reference in New Issue