diff options
| author | TheKodeToad <TheKodeToad@proton.me> | 2023-11-06 16:06:54 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-06 16:06:54 +0000 |
| commit | 23b955121b8217c1c348a9ed2483167a6f3ff4ad (patch) | |
| tree | fdfdf6328a8ca9d648f47297d20474b1d842987c /include/io/stream_reader.h | |
| parent | a5e8fd52b8bf4ab5d5bcc042b2a247867589985f (diff) | |
| parent | 3554a63406187b9dac5f72647644527f7fc3396b (diff) | |
| download | Project-Tick-23b955121b8217c1c348a9ed2483167a6f3ff4ad.tar.gz Project-Tick-23b955121b8217c1c348a9ed2483167a6f3ff4ad.zip | |
Merge pull request #3 from TheKodeToad/max-depth-attempt2
Limit recursion, attempt 2
Diffstat (limited to 'include/io/stream_reader.h')
| -rw-r--r-- | include/io/stream_reader.h | 1 |
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; }; |
