summaryrefslogtreecommitdiff
path: root/src/hir/expr_ptr.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hir/expr_ptr.hpp')
-rw-r--r--src/hir/expr_ptr.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hir/expr_ptr.hpp b/src/hir/expr_ptr.hpp
index ba53b58f..59663310 100644
--- a/src/hir/expr_ptr.hpp
+++ b/src/hir/expr_ptr.hpp
@@ -20,6 +20,8 @@ public:
x.node = nullptr;
}
~ExprPtr();
+
+ ::HIR::ExprNode& operator*() { return *node; }
};
} // namespace HIR