diff options
author | John Hodge <tpg@mutabah.net> | 2016-05-18 13:37:01 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-05-18 13:37:01 +0800 |
commit | 8f1a4e56874b0321081161aedfa4da768ffcc65e (patch) | |
tree | 487b8e19aade7114268a1db3fe7f6f321bf8a1ac /src/hir/hir.hpp | |
parent | 8b2dbb2481abadec1f5d5cb0af888ca2916b252f (diff) | |
download | mrust-8f1a4e56874b0321081161aedfa4da768ffcc65e.tar.gz |
HIR - Fix bug in initialising ExprNode_Let
Diffstat (limited to 'src/hir/hir.hpp')
-rw-r--r-- | src/hir/hir.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/hir/hir.hpp b/src/hir/hir.hpp index 0756b8b0..34a86dbc 100644 --- a/src/hir/hir.hpp +++ b/src/hir/hir.hpp @@ -135,6 +135,10 @@ public: ::std::unordered_map< ::std::string, ::std::unique_ptr<VisEnt<ValueItem>> > m_value_items; // Contains types, traits, and modules ::std::unordered_map< ::std::string, ::std::unique_ptr<VisEnt<TypeItem>> > m_mod_items; + + Module() {} + Module(const Module&) = delete; + Module(Module&& x) = default; }; // -------------------------------------------------------------------- |