summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheKodeToad <TheKodeToad@proton.me>2023-11-06 16:05:47 +0000
committerGitHub <noreply@github.com>2023-11-06 16:05:47 +0000
commit3554a63406187b9dac5f72647644527f7fc3396b (patch)
treefdfdf6328a8ca9d648f47297d20474b1d842987c
parent37084afebfb09b30126f26eb64e508c5b8f9e8b6 (diff)
downloadProject-Tick-3554a63406187b9dac5f72647644527f7fc3396b.tar.gz
Project-Tick-3554a63406187b9dac5f72647644527f7fc3396b.zip
Small tweak
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
-rw-r--r--src/io/stream_reader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/io/stream_reader.cpp b/src/io/stream_reader.cpp
index cf0dee38e8..28c1e1d89f 100644
--- a/src/io/stream_reader.cpp
+++ b/src/io/stream_reader.cpp
@@ -27,7 +27,7 @@ namespace nbt
namespace io
{
-constexpr int MAX_DEPTH = 1024;
+static constexpr int MAX_DEPTH = 1024;
std::pair<std::string, std::unique_ptr<tag_compound>> read_compound(std::istream& is, endian::endian e)
{