summaryrefslogtreecommitdiffstats
path: root/src/NBT/EndTag.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/NBT/EndTag.hpp')
-rw-r--r--src/NBT/EndTag.hpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/NBT/EndTag.hpp b/src/NBT/EndTag.hpp
index 5f771fd..167412a 100644
--- a/src/NBT/EndTag.hpp
+++ b/src/NBT/EndTag.hpp
@@ -34,10 +34,13 @@ namespace NBT {
class EndTag : public Tag {
public:
- EndTag() {}
+ static const MakeType<EndTag> Type;
- virtual Type getType() const {
- return Type::End;
+
+ EndTag(Buffer *) {}
+
+ virtual const TagType & getType() const {
+ return Type;
}
virtual void print(std::ostream&, const std::string &) const {