NBT: remove unused deep Compound accessor

This commit is contained in:
Matthias Schiffer 2018-07-21 18:46:07 +02:00
parent f1f783877f
commit f3d65febf3
Signed by: neocturne
GPG key ID: 16EF3F64CB201D9C

View file

@ -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...);
}
};
}