diff options
author | chriseth <chris@ethereum.org> | 2018-12-19 22:11:20 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-19 22:11:20 +0800 |
commit | c8f20e075f46ce35a9975f43676dbe1794d7ea29 (patch) | |
tree | 642c9567b2272cd4450a702f2a735d1243754543 /liblangutil/ParserBase.cpp | |
parent | 8875092073a30c94659f8a373658ca8286803054 (diff) | |
parent | 62fe57479e7d8949e4ed2e0efb31238d5d8d6d0a (diff) | |
download | dexon-solidity-c8f20e075f46ce35a9975f43676dbe1794d7ea29.tar dexon-solidity-c8f20e075f46ce35a9975f43676dbe1794d7ea29.tar.gz dexon-solidity-c8f20e075f46ce35a9975f43676dbe1794d7ea29.tar.bz2 dexon-solidity-c8f20e075f46ce35a9975f43676dbe1794d7ea29.tar.lz dexon-solidity-c8f20e075f46ce35a9975f43676dbe1794d7ea29.tar.xz dexon-solidity-c8f20e075f46ce35a9975f43676dbe1794d7ea29.tar.zst dexon-solidity-c8f20e075f46ce35a9975f43676dbe1794d7ea29.zip |
Merge pull request #5635 from ethereum/cpp-default-ctors
[RFC] C++ `=default` ctors/dtors and the use of non-static member initializer syntax.
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); } |