summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tag_compound.cpp15
-rw-r--r--src/tag_string.cpp15
2 files changed, 0 insertions, 30 deletions
diff --git a/src/tag_compound.cpp b/src/tag_compound.cpp
index 1d4fd6d720..6aa12e64ff 100644
--- a/src/tag_compound.cpp
+++ b/src/tag_compound.cpp
@@ -84,21 +84,6 @@ tag_type tag_compound::get_type() const noexcept
return type;
}
-std::unique_ptr<tag> tag_compound::move_clone() &&
-{
- return std::unique_ptr<tag>(new tag_compound(std::move(*this)));
-}
-
-bool tag_compound::equals(const tag& rhs) const
-{
- return *this == static_cast<const tag_compound&>(rhs);
-}
-
-tag_compound& tag_compound::assign(tag&& rhs)
-{
- return *this = dynamic_cast<tag_compound&&>(rhs);
-}
-
bool operator==(const tag_compound& lhs, const tag_compound& rhs)
{
return lhs.tags == rhs.tags;
diff --git a/src/tag_string.cpp b/src/tag_string.cpp
index aade42768b..1f1e242e3a 100644
--- a/src/tag_string.cpp
+++ b/src/tag_string.cpp
@@ -72,21 +72,6 @@ tag_type tag_string::get_type() const noexcept
return type;
}
-std::unique_ptr<tag> tag_string::move_clone() &&
-{
- return std::unique_ptr<tag>(new tag_string(std::move(*this)));
-}
-
-bool tag_string::equals(const tag& rhs) const
-{
- return *this == static_cast<const tag_string&>(rhs);
-}
-
-tag_string& tag_string::assign(tag&& rhs)
-{
- return *this = dynamic_cast<tag_string&&>(rhs);
-}
-
bool operator==(const tag_string& lhs, const tag_string& rhs)
{
return lhs.get() == rhs.get();