diff options
author | Ali Mohammad Pur <ali.mpfard@gmail.com> | 2021-05-12 14:01:34 +0430 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-05-12 11:00:45 +0100 |
commit | 1ae8775a1bb0af02932c54d1ab71d3201825519c (patch) | |
tree | a5f8b3c7b3528a625106226cf11500aa5d437aea /Userland/Libraries/LibCore/FileStream.h | |
parent | a91a49337c5992d64b30f493eea1eb492792b667 (diff) | |
download | serenity-1ae8775a1bb0af02932c54d1ab71d3201825519c.zip |
LibCore+Everywhere: Move SeekMode out of IODevice
Diffstat (limited to 'Userland/Libraries/LibCore/FileStream.h')
-rw-r--r-- | Userland/Libraries/LibCore/FileStream.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibCore/FileStream.h b/Userland/Libraries/LibCore/FileStream.h index e7bdde05e5..1011fd2662 100644 --- a/Userland/Libraries/LibCore/FileStream.h +++ b/Userland/Libraries/LibCore/FileStream.h @@ -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(); } |