summaryrefslogtreecommitdiff
path: root/src/base/statistics.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/statistics.hh')
-rw-r--r--src/base/statistics.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/base/statistics.hh b/src/base/statistics.hh
index 658652f05..a21bf81d1 100644
--- a/src/base/statistics.hh
+++ b/src/base/statistics.hh
@@ -2999,6 +2999,11 @@ class Temp
*/
operator NodePtr&() { return node; }
+ /**
+ * Makde gcc < 4.6.3 happy and explicitly get the underlying node.
+ */
+ NodePtr getNodePtr() const { return node; }
+
public:
/**
* Create a new ScalarStatNode.