diff options
-rw-r--r-- | src/NBT/CompoundTag.hpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/NBT/CompoundTag.hpp b/src/NBT/CompoundTag.hpp index 68e2390..2d3fcbe 100644 --- a/src/NBT/CompoundTag.hpp +++ b/src/NBT/CompoundTag.hpp @@ -76,14 +76,6 @@ public: return std::dynamic_pointer_cast<const T>(it->second); } - - template<typename T, typename... Args> std::shared_ptr<const T> get(const std::string &key, const Args &...args) const { - std::shared_ptr<const CompoundTag> tag = get<CompoundTag>(key); - if (!tag) - return std::shared_ptr<const T>(); - - return tag->get<T>(args...); - } }; } |