diff options
author | crupest <crupest@outlook.com> | 2022-01-24 22:14:37 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-01-24 22:14:37 +0800 |
commit | 24e1dc8723aea1e46a3aa15794747f3fa52f8eca (patch) | |
tree | 0c879b38647307d25325eb8f9993a7f690fb46b2 /src/common/io/Stream.cpp | |
parent | 72402c09d45b696cd58a65b4a141a804e1cd9371 (diff) | |
download | cru-24e1dc8723aea1e46a3aa15794747f3fa52f8eca.tar.gz cru-24e1dc8723aea1e46a3aa15794747f3fa52f8eca.tar.bz2 cru-24e1dc8723aea1e46a3aa15794747f3fa52f8eca.zip |
...
Diffstat (limited to 'src/common/io/Stream.cpp')
-rw-r--r-- | src/common/io/Stream.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/io/Stream.cpp b/src/common/io/Stream.cpp index bf102441..4f2953f9 100644 --- a/src/common/io/Stream.cpp +++ b/src/common/io/Stream.cpp @@ -7,7 +7,7 @@ Index Stream::GetSize() { Index current_position = Tell(); Seek(0, SeekOrigin::End); Index size = Tell(); - Seek(current_position); + Seek(current_position, SeekOrigin::Begin); return size; } |