summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibCore/FileStream.h
diff options
context:
space:
mode:
authorAli Mohammad Pur <ali.mpfard@gmail.com>2021-05-12 14:01:34 +0430
committerLinus Groh <mail@linusgroh.de>2021-05-12 11:00:45 +0100
commit1ae8775a1bb0af02932c54d1ab71d3201825519c (patch)
treea5f8b3c7b3528a625106226cf11500aa5d437aea /Userland/Libraries/LibCore/FileStream.h
parenta91a49337c5992d64b30f493eea1eb492792b667 (diff)
downloadserenity-1ae8775a1bb0af02932c54d1ab71d3201825519c.zip
LibCore+Everywhere: Move SeekMode out of IODevice
Diffstat (limited to 'Userland/Libraries/LibCore/FileStream.h')
-rw-r--r--Userland/Libraries/LibCore/FileStream.h2
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(); }