From 37084afebfb09b30126f26eb64e508c5b8f9e8b6 Mon Sep 17 00:00:00 2001 From: TheKodeToad Date: Sun, 5 Nov 2023 12:00:28 +0000 Subject: Limit recursion, attempt 2 --- include/io/stream_reader.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/io/stream_reader.h') 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; }; -- cgit 0.0.5-2-1-g0f52