summaryrefslogtreecommitdiff
path: root/include/io/stream_reader.h
diff options
context:
space:
mode:
authorTheKodeToad <TheKodeToad@proton.me>2023-11-05 12:00:28 +0000
committerTheKodeToad <TheKodeToad@proton.me>2023-11-05 12:00:28 +0000
commit37084afebfb09b30126f26eb64e508c5b8f9e8b6 (patch)
tree0f77e1066fda1078158dbac25020dfebfee0a1cc /include/io/stream_reader.h
parenta5e8fd52b8bf4ab5d5bcc042b2a247867589985f (diff)
downloadProject-Tick-37084afebfb09b30126f26eb64e508c5b8f9e8b6.tar.gz
Project-Tick-37084afebfb09b30126f26eb64e508c5b8f9e8b6.zip
Limit recursion, attempt 2
Diffstat (limited to 'include/io/stream_reader.h')
-rw-r--r--include/io/stream_reader.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/io/stream_reader.h b/include/io/stream_reader.h
index 469e18ce87..3a677db748 100644
--- a/include/io/stream_reader.h
+++ b/include/io/stream_reader.h
@@ -121,6 +121,7 @@ public:
private:
std::istream& is;
+ int depth = 0;
const endian::endian endian;
};