summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2018-07-21 18:46:07 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2018-07-21 18:46:07 +0200
commitf3d65febf3fbdf22966e90424c7c2e063d694d7e (patch)
treeae1966eca9bf04fd735f3f84796e18022c8157e4 /src
parentf1f783877f0f8338a225244faff4e40efe10a4ce (diff)
downloadMinedMap-f3d65febf3fbdf22966e90424c7c2e063d694d7e.tar
MinedMap-f3d65febf3fbdf22966e90424c7c2e063d694d7e.zip
NBT: remove unused deep Compound accessor
Diffstat (limited to 'src')
-rw-r--r--src/NBT/CompoundTag.hpp8
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...);
- }
};
}