diff options
author | John Hodge <tpg@mutabah.net> | 2016-12-25 17:35:00 +1100 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-12-25 17:35:00 +1100 |
commit | 69537686be13f6ff84ce79e84374351e943ab21b (patch) | |
tree | de4bef9b5ace623b59751447b9131046483d2388 /src/hir/crate_ptr.hpp | |
parent | 27b0292ca6828eed7e782a57ad4d641f0ebf7357 (diff) | |
parent | 753a2f44cc4c00b952cddae2ceed066ebb18a470 (diff) | |
download | mrust-69537686be13f6ff84ce79e84374351e943ab21b.tar.gz |
Merge branch 'master' of https://github.com/thepowersgang/mrustc
Diffstat (limited to 'src/hir/crate_ptr.hpp')
-rw-r--r-- | src/hir/crate_ptr.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hir/crate_ptr.hpp b/src/hir/crate_ptr.hpp index ad6f374e..c870b1ea 100644 --- a/src/hir/crate_ptr.hpp +++ b/src/hir/crate_ptr.hpp @@ -10,7 +10,7 @@ class Crate; class CratePtr { Crate* m_ptr; - + public: CratePtr(); CratePtr(Crate c); @@ -27,7 +27,7 @@ public: return *this; } ~CratePtr(); - + Crate& operator*() { return *m_ptr; } const Crate& operator*() const { return *m_ptr; } Crate* operator->() { return m_ptr; } |