diff options
Diffstat (limited to 'src/hir/crate_ptr.hpp')
-rw-r--r-- | src/hir/crate_ptr.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hir/crate_ptr.hpp b/src/hir/crate_ptr.hpp index df60329e..06e04a6e 100644 --- a/src/hir/crate_ptr.hpp +++ b/src/hir/crate_ptr.hpp @@ -27,6 +27,8 @@ public: return *this; } ~CratePtr(); + + Crate& operator*() { return *m_ptr; } }; } // namespace HIR |