packagefs: CachedDataReader: Don't implement ReadData()

It's already done the same way in the base class.
This commit is contained in:
Ingo Weinhold 2014-06-24 06:14:46 +02:00
parent 0dab9e5cb4
commit 60ccc119b0
2 changed files with 0 additions and 10 deletions

View File

@ -123,14 +123,6 @@ CachedDataReader::Init(BAbstractBufferedDataReader* reader, off_t size)
}
status_t
CachedDataReader::ReadData(off_t offset, void* buffer, size_t size)
{
BMemoryIO output(buffer, size);
return ReadDataToOutput(offset, size, &output);
}
status_t
CachedDataReader::ReadDataToOutput(off_t offset, size_t size,
BDataIO* output)

View File

@ -26,8 +26,6 @@ public:
status_t Init(BAbstractBufferedDataReader* reader,
off_t size);
virtual status_t ReadData(off_t offset, void* buffer,
size_t size);
virtual status_t ReadDataToOutput(off_t offset, size_t size,
BDataIO* output);