summaryrefslogtreecommitdiffstats
path: root/src/definition.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/definition.h')
-rw-r--r--src/definition.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/definition.h b/src/definition.h
index e881e43..c4ab29a 100644
--- a/src/definition.h
+++ b/src/definition.h
@@ -120,7 +120,7 @@ class Definition
int getDefLine() const { return m_defLine; }
virtual Definition *findInnerCompound(const char *name);
- virtual Definition *getOuterScope() { return m_outerScope; }
+ virtual Definition *getOuterScope() const { return m_outerScope; }
virtual void addInnerCompound(Definition *d);
virtual void setOuterScope(Definition *d) { m_outerScope = d; }