summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tag.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tag.cpp b/src/tag.cpp
index 40565226cf..da5c3fa68e 100644
--- a/src/tag.cpp
+++ b/src/tag.cpp
@@ -23,6 +23,11 @@
namespace nbt
{
+std::unique_ptr<tag> tag::clone() &&
+{
+ return std::move(*this).move_clone();
+}
+
bool operator==(const tag& lhs, const tag& rhs)
{
if(typeid(lhs) != typeid(rhs))