aboutsummaryrefslogtreecommitdiff
path: root/include/cru/common/platform
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-02-03 15:02:22 +0800
committercrupest <crupest@outlook.com>2022-02-03 15:02:22 +0800
commitf90fd5b7732a4aaeeb42e5587a7081856efb51aa (patch)
tree3a72d66ba493df562d9aea42b8d048de2afabd60 /include/cru/common/platform
parentd15172cfe1ac8558567c1b1c10c2e671b0d1f033 (diff)
downloadcru-f90fd5b7732a4aaeeb42e5587a7081856efb51aa.tar.gz
cru-f90fd5b7732a4aaeeb42e5587a7081856efb51aa.tar.bz2
cru-f90fd5b7732a4aaeeb42e5587a7081856efb51aa.zip
...
Diffstat (limited to 'include/cru/common/platform')
-rw-r--r--include/cru/common/platform/unix/UnixFileStream.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/cru/common/platform/unix/UnixFileStream.hpp b/include/cru/common/platform/unix/UnixFileStream.hpp
index 618f7aa3..76355f2f 100644
--- a/include/cru/common/platform/unix/UnixFileStream.hpp
+++ b/include/cru/common/platform/unix/UnixFileStream.hpp
@@ -20,8 +20,7 @@ class UnixFileStream : public io::Stream {
public:
bool CanSeek() override;
- Index Tell() override;
- void Seek(Index offset, SeekOrigin origin = SeekOrigin::Current) override;
+ Index Seek(Index offset, SeekOrigin origin = SeekOrigin::Current) override;
bool CanRead() override;
Index Read(std::byte* buffer, Index offset, Index size) override;