summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/model/Node.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/model/Node.hpp b/src/core/model/Node.hpp
index af92a50..6fc7dba 100644
--- a/src/core/model/Node.hpp
+++ b/src/core/model/Node.hpp
@@ -532,7 +532,7 @@ public:
*
* @return a source location descriptor.
*/
- SourceLocation getLocation() { return location; }
+ SourceLocation getLocation() const { return location; }
/**
* Sets the location of the node to the given value.