summaryrefslogtreecommitdiff
path: root/src/types.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/types.hpp')
-rw-r--r--src/types.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/types.hpp b/src/types.hpp
index f70de94a..2b9f4a86 100644
--- a/src/types.hpp
+++ b/src/types.hpp
@@ -113,6 +113,10 @@ public:
{}
TypeRef(const TypeRef& other);
+ TypeRef& operator=(TypeRef&& other) {
+ m_data = mv$( other.m_data );
+ return *this;
+ }
TypeRef& operator=(const TypeRef& other) {
m_data = TypeRef(other).m_data;
return *this;