summaryrefslogtreecommitdiffstats
path: root/src/NBT/DoubleTag.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/NBT/DoubleTag.hpp')
-rw-r--r--src/NBT/DoubleTag.hpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/NBT/DoubleTag.hpp b/src/NBT/DoubleTag.hpp
index 035ff94..3dfdb74 100644
--- a/src/NBT/DoubleTag.hpp
+++ b/src/NBT/DoubleTag.hpp
@@ -34,15 +34,13 @@ namespace NBT {
class DoubleTag : public Tag {
private:
- friend class Tag;
-
const uint8_t *ptr;
+public:
DoubleTag(Buffer *buffer) {
ptr = buffer->get(8);
}
-public:
virtual Type getType() const {
return Type::Double;
}