Adapt to new fspp interface

This commit is contained in:
Sebastian Meßmer 2015-03-18 02:46:06 +01:00
parent 4d113613d9
commit 56928e68a8
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ void CryOpenFile::truncate(off_t size) const {
_fileBlob->resize(size);
}
ssize_t CryOpenFile::read(void *buf, size_t count, off_t offset) {
ssize_t CryOpenFile::read(void *buf, size_t count, off_t offset) const {
return _fileBlob->read(buf, offset, count);
}

View File

@ -16,7 +16,7 @@ public:
void stat(struct ::stat *result) const override;
void truncate(off_t size) const override;
ssize_t read(void *buf, size_t count, off_t offset) override;
ssize_t read(void *buf, size_t count, off_t offset) const override;
void write(const void *buf, size_t count, off_t offset) override;
void flush() override;
void fsync() override;