summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorljfa-ag <ljfa-ag@web.de>2015-07-08 18:20:02 +0200
committerljfa-ag <ljfa-ag@web.de>2015-07-08 18:20:02 +0200
commit0b0b7c343fd1d40a10d7c756237b8e86207d8b97 (patch)
tree4008400c3408a3a47ab9a8670933fa8f9109bbcd /include
parentd9f87a8f9bbd8b296bd876cbb5fb3e410c6a76e3 (diff)
downloadProject-Tick-0b0b7c343fd1d40a10d7c756237b8e86207d8b97.tar.gz
Project-Tick-0b0b7c343fd1d40a10d7c756237b8e86207d8b97.zip
Overload clone for rvalue refs
Diffstat (limited to 'include')
-rw-r--r--include/tag.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/tag.h b/include/tag.h
index da1d5098ad..c38c9a5117 100644
--- a/include/tag.h
+++ b/include/tag.h
@@ -56,6 +56,7 @@ public:
virtual std::unique_ptr<tag> clone() const& = 0;
virtual std::unique_ptr<tag> move_clone() && = 0;
+ std::unique_ptr<tag> clone() &&;
friend bool operator==(const tag& lhs, const tag& rhs);
friend bool operator!=(const tag& lhs, const tag& rhs);