summaryrefslogtreecommitdiff
path: root/include/codemaker/exceptiontree.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/codemaker/exceptiontree.hxx')
-rw-r--r--include/codemaker/exceptiontree.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/codemaker/exceptiontree.hxx b/include/codemaker/exceptiontree.hxx
index ab395c68be17..2e4795c5f020 100644
--- a/include/codemaker/exceptiontree.hxx
+++ b/include/codemaker/exceptiontree.hxx
@@ -100,11 +100,11 @@ public:
/**
Gives access to the resultant exception hierarchy.
- @return a non-null pointer to the root of the exception hierarchy, as
+ @return a reference to the root of the exception hierarchy, as
formed by all previous calls to add; it is an error if any calls to add
follow the first call to getRoot
*/
- ExceptionTreeNode const * getRoot() const { return &m_root; }
+ ExceptionTreeNode const & getRoot() const { return m_root; }
private:
ExceptionTree(ExceptionTree &); // not implemented