summaryrefslogtreecommitdiff
path: root/src/types.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/types.hpp')
-rw-r--r--src/types.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/types.hpp b/src/types.hpp
index 2b9f4a86..6bdfb9a7 100644
--- a/src/types.hpp
+++ b/src/types.hpp
@@ -108,9 +108,10 @@ public:
TypeData m_data;
TypeRef(TypeRef&& other) noexcept:
- //m_span( mv$(other.m_span) ),
m_data( mv$(other.m_data) )
- {}
+ {
+ m_span = mv$(other.m_span);
+ }
TypeRef(const TypeRef& other);
TypeRef& operator=(TypeRef&& other) {