summaryrefslogtreecommitdiffstats
path: root/src/NBT/ListTag.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/NBT/ListTag.hpp')
-rw-r--r--src/NBT/ListTag.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/NBT/ListTag.hpp b/src/NBT/ListTag.hpp
index 6404065..67ba619 100644
--- a/src/NBT/ListTag.hpp
+++ b/src/NBT/ListTag.hpp
@@ -38,7 +38,7 @@ class ListTag : public Tag {
private:
friend class Tag;
- std::vector<std::shared_ptr<Tag>> value;
+ std::vector<std::shared_ptr<const Tag>> value;
ListTag(Buffer *buffer) {