summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-01-23 00:34:01 +0100
committerAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-01-23 00:34:01 +0100
commitc7aab61b7cf2b824f168507d9a693b375df0515b (patch)
tree7eed970998ff446b4dae42e334d6fdae2bedd20f /src/core
parentedc7d6cd129e4e9dcbe3e2a33a7a31dcd4eaf998 (diff)
Improved SourceLocation
Diffstat (limited to 'src/core')
-rw-r--r--src/core/common/Location.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/common/Location.hpp b/src/core/common/Location.hpp
index ae50e91..4ce01a8 100644
--- a/src/core/common/Location.hpp
+++ b/src/core/common/Location.hpp
@@ -266,13 +266,13 @@ private:
/**
* Id of the source file.
*/
- SourceId sourceId = InvalidSourceId;
+ SourceId sourceId;
public:
/**
* Default constructor.
*/
- SourceLocation(){};
+ SourceLocation() : sourceId(InvalidSourceId) {};
/**
* Constructor, binds the SourceLocation to the given source file.