aboutsummaryrefslogtreecommitdiff
path: root/src/base/io
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-09-08 01:46:00 +0800
committerYuqian Yang <crupest@crupest.life>2025-09-08 21:34:37 +0800
commit593b658eb1491d4b3103971aba6592aff2765f0e (patch)
tree526bc88c6a895c215015926c90ff38c106a94604 /src/base/io
parentdf550874cd546a85074edc35bebeb3cd0530622b (diff)
downloadcru-593b658eb1491d4b3103971aba6592aff2765f0e.tar.gz
cru-593b658eb1491d4b3103971aba6592aff2765f0e.tar.bz2
cru-593b658eb1491d4b3103971aba6592aff2765f0e.zip
Fix some compile errors on Windows.
Diffstat (limited to 'src/base/io')
-rw-r--r--src/base/io/Stream.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/base/io/Stream.cpp b/src/base/io/Stream.cpp
index 9b7ef856..4cb58eca 100644
--- a/src/base/io/Stream.cpp
+++ b/src/base/io/Stream.cpp
@@ -171,11 +171,11 @@ Index Stream::DoGetSize() {
}
Index Stream::DoRead(std::byte* buffer, Index offset, Index size) {
- throw Exception(u"Stream is readable but DoSeek is not implemented.");
+ throw Exception(u"Stream is readable but DoRead is not implemented.");
}
Index Stream::DoWrite(const std::byte* buffer, Index offset, Index size) {
- throw Exception(u"Stream is writable but DoSeek is not implemented.");
+ throw Exception(u"Stream is writable but DoWrite is not implemented.");
}
void Stream::DoFlush() {}