aboutsummaryrefslogtreecommitdiff
path: root/core/src/Utils/IO/FileStream.hpp
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2021-11-10 20:44:52 -0800
committerrtk0c <[email protected]>2021-11-10 20:44:52 -0800
commit816bbe7993adf4a41ace7bae06bfe6a5921308b8 (patch)
treeb10decb90b27b11a66a6089f2ebcf5b62aa8b643 /core/src/Utils/IO/FileStream.hpp
parent04653742243e4bb6452108cfd0fef2f4afd8f23b (diff)
Switch more IO to use DataArchive
Diffstat (limited to 'core/src/Utils/IO/FileStream.hpp')
-rw-r--r--core/src/Utils/IO/FileStream.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/Utils/IO/FileStream.hpp b/core/src/Utils/IO/FileStream.hpp
index 224f3b6..9f5f24a 100644
--- a/core/src/Utils/IO/FileStream.hpp
+++ b/core/src/Utils/IO/FileStream.hpp
@@ -29,7 +29,7 @@ private:
// mBuffer is always mReadInSize size
std::unique_ptr<std::byte[]> mBuffer;
- int mReadInSize = 1024;
+ int mReadInSize;
int mFirstByteIdx = 0;
int mAvailableBytes = 0;
@@ -65,7 +65,7 @@ public:
private:
alignas(void*) char mOsFileHandle[sizeof(void*)];
std::unique_ptr<std::byte[]> mBuffer;
- int mMaxBufferSize = 1024;
+ int mMaxBufferSize;
int mCurrentBufferSize = 0;
public: