From f3d65febf3fbdf22966e90424c7c2e063d694d7e Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sat, 21 Jul 2018 18:46:07 +0200 Subject: NBT: remove unused deep Compound accessor --- src/NBT/CompoundTag.hpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src') 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(it->second); } - - template std::shared_ptr get(const std::string &key, const Args &...args) const { - std::shared_ptr tag = get(key); - if (!tag) - return std::shared_ptr(); - - return tag->get(args...); - } }; } -- cgit v1.2.3