summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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.