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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ensure we're at the beginning of the file
|
// reset error
|
||||||
rewind(m_fileHandle);
|
m_hasError = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void FileReader::close()
|
void FileReader::close()
|
||||||
|
|
|
@ -70,8 +70,8 @@ void FileWriter::open(bool overwrite)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ensure we're at the beginning of the file
|
// reset error
|
||||||
rewind(m_fileHandle);
|
m_hasError = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void FileWriter::close()
|
void FileWriter::close()
|
||||||
|
|
Loading…
Reference in New Issue