diff options
author | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-01-23 00:34:01 +0100 |
---|---|---|
committer | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-01-23 00:34:01 +0100 |
commit | c7aab61b7cf2b824f168507d9a693b375df0515b (patch) | |
tree | 7eed970998ff446b4dae42e334d6fdae2bedd20f | |
parent | edc7d6cd129e4e9dcbe3e2a33a7a31dcd4eaf998 (diff) |
Improved SourceLocation
-rw-r--r-- | src/core/common/Location.hpp | 4 |
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. |