summaryrefslogtreecommitdiff
path: root/src/ast/types.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast/types.hpp')
-rw-r--r--src/ast/types.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ast/types.hpp b/src/ast/types.hpp
index 72080723..a79a811d 100644
--- a/src/ast/types.hpp
+++ b/src/ast/types.hpp
@@ -108,6 +108,8 @@ class TypeRef:
public:
TypeData m_data;
+ virtual ~TypeRef();
+
TypeRef(TypeRef&& other) noexcept:
m_data( mv$(other.m_data) )
{