summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-01-23 12:09:05 +0100
committerAndreas Stöckel <andreas@somweyr.de>2015-01-23 12:09:05 +0100
commit7610f2d1bc6c7b263ef41e765d571ac460709a7e (patch)
tree77dc19ccad9400aaaa8e605d6104218ad83cca65
parent6dbb4d19a860937ec1c78df01b1371272e1de8de (diff)
Made getLocation const
-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.