From c7aab61b7cf2b824f168507d9a693b375df0515b Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Fri, 23 Jan 2015 00:34:01 +0100 Subject: Improved SourceLocation --- src/core/common/Location.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/common') 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. -- cgit v1.2.3