summaryrefslogtreecommitdiff
path: root/src/io/stream_reader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/io/stream_reader.cpp')
-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)
{