Adapt to new fspp interface
This commit is contained in:
parent
4d113613d9
commit
56928e68a8
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user