diff options
Diffstat (limited to 'liblangutil/ParserBase.cpp')
-rw-r--r-- | liblangutil/ParserBase.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/liblangutil/ParserBase.cpp b/liblangutil/ParserBase.cpp index 391af291..c0770e04 100644 --- a/liblangutil/ParserBase.cpp +++ b/liblangutil/ParserBase.cpp @@ -100,10 +100,10 @@ void ParserBase::decreaseRecursionDepth() void ParserBase::parserError(string const& _description) { - m_errorReporter.parserError(SourceLocation(position(), endPosition(), source()), _description); + m_errorReporter.parserError(SourceLocation{position(), endPosition(), source()}, _description); } void ParserBase::fatalParserError(string const& _description) { - m_errorReporter.fatalParserError(SourceLocation(position(), endPosition(), source()), _description); + m_errorReporter.fatalParserError(SourceLocation{position(), endPosition(), source()}, _description); } |