diff options
Diffstat (limited to 'src/trans/trans_list.hpp')
-rw-r--r-- | src/trans/trans_list.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/trans/trans_list.hpp b/src/trans/trans_list.hpp index 58a6030d..eed91551 100644 --- a/src/trans/trans_list.hpp +++ b/src/trans/trans_list.hpp @@ -59,7 +59,8 @@ public: ::std::map< ::HIR::Path, ::std::unique_ptr<TransList_Static> > m_statics; ::std::map< ::HIR::Path, Trans_Params> m_vtables; - ::std::vector< ::HIR::TypeRef> m_types; + // .second is `true` if this is a from a reference to the type + ::std::vector< ::std::pair<::HIR::TypeRef, bool> > m_types; TransList_Function* add_function(::HIR::Path p); TransList_Static* add_static(::HIR::Path p); |