FileWrapper - remove unused flush function

This commit is contained in:
twinaphex 2015-10-01 02:13:03 +02:00
parent 83073297cf
commit 4b63a30f3b
2 changed files with 0 additions and 7 deletions

View File

@ -70,11 +70,6 @@ uint64_t FileWrapper::read(void *data, uint64_t count, bool error_on_eof)
return fread(data, 1, count, fp);
}
void FileWrapper::flush(void)
{
fflush(fp);
}
void FileWrapper::write(const void *data, uint64_t count)
{
fwrite(data, 1, count, fp);

View File

@ -23,8 +23,6 @@ class FileWrapper
int64_t size(void);
void flush(void);
void close(void); // Flushes and closes the underlying OS/C lib file. Calling any other method of this class after a call to
// this method is illegal(except for the implicit call to the destructor).
//