1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 15:28:11 +00:00

LibCore+Everywhere: Move SeekMode out of IODevice

This commit is contained in:
Ali Mohammad Pur 2021-05-12 14:01:34 +04:30 committed by Linus Groh
parent a91a49337c
commit 1ae8775a1b
5 changed files with 10 additions and 10 deletions

View file

@ -63,7 +63,7 @@ public:
return true;
}
bool discard_or_error(size_t count) override { return m_file->seek(count, IODevice::SeekMode::FromCurrentPosition); }
bool discard_or_error(size_t count) override { return m_file->seek(count, SeekMode::FromCurrentPosition); }
bool unreliable_eof() const override { return m_file->eof(); }