fs/io/TextFile: add method Check()

This commit is contained in:
Max Kellermann
2014-08-11 22:53:48 +02:00
parent 7cc25f91ff
commit 8283f23651
2 changed files with 16 additions and 0 deletions

View File

@@ -61,3 +61,11 @@ TextFile::ReadLine()
return buffered_reader->ReadLine();
}
bool
TextFile::Check(Error &error) const
{
assert(buffered_reader != nullptr);
return buffered_reader->Check(error);
}