diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-08-26 03:40:27 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-26 03:40:27 +0800 |
commit | 2b3a49f702579cfa78d7cfa90600894a31f55e9e (patch) | |
tree | 8f8a6de68ff81f077e5cab348daddbb41cf05ba4 /libsolidity | |
parent | 0e2cbc86800597db76e989a79ba858a3a2c3793a (diff) | |
parent | 774363eb74023b90cfff0d9e6328103eceecc183 (diff) | |
download | dexon-solidity-2b3a49f702579cfa78d7cfa90600894a31f55e9e.tar.gz dexon-solidity-2b3a49f702579cfa78d7cfa90600894a31f55e9e.tar.zst dexon-solidity-2b3a49f702579cfa78d7cfa90600894a31f55e9e.zip |
Merge pull request #2821 from ethereum/errorreporter-copy
Add copy constructor to ErrorReporter (since it has assignment operator)
Diffstat (limited to 'libsolidity')
-rw-r--r-- | libsolidity/interface/ErrorReporter.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libsolidity/interface/ErrorReporter.h b/libsolidity/interface/ErrorReporter.h index 241d6b43..6f7ef51d 100644 --- a/libsolidity/interface/ErrorReporter.h +++ b/libsolidity/interface/ErrorReporter.h @@ -39,6 +39,9 @@ public: explicit ErrorReporter(ErrorList& _errors): m_errorList(_errors) { } + ErrorReporter(ErrorReporter const& _errorReporter) noexcept: + m_errorList(_errorReporter.m_errorList) { } + ErrorReporter& operator=(ErrorReporter const& _errorReporter); void warning(std::string const& _description); |