summaryrefslogtreecommitdiffstats
path: root/src/NBT/Tag.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/NBT/Tag.hpp')
-rw-r--r--src/NBT/Tag.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/NBT/Tag.hpp b/src/NBT/Tag.hpp
index 077c508..a3c0c76 100644
--- a/src/NBT/Tag.hpp
+++ b/src/NBT/Tag.hpp
@@ -37,6 +37,9 @@ namespace MinedMap {
namespace NBT {
class Tag {
+private:
+ static std::shared_ptr<const Tag> readList(Buffer *buffer);
+
public:
enum class Type {
End = 0,
@@ -54,7 +57,6 @@ public:
};
static std::shared_ptr<const Tag> readTag(Type type, Buffer *buffer);
-
static std::pair<std::string, std::shared_ptr<const Tag>> readNamedTag(Buffer *buffer);
virtual Type getType() const = 0;