From 7610f2d1bc6c7b263ef41e765d571ac460709a7e Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Fri, 23 Jan 2015 12:09:05 +0100 Subject: Made getLocation const --- src/core/model/Node.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/model') 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. -- cgit v1.2.3