aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-08-22 05:22:20 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-08-25 23:03:24 +0800
commit774363eb74023b90cfff0d9e6328103eceecc183 (patch)
treec73cb587262dc02d3d94cef952b82d59212c4fe4
parentec6d8007db3577c7899a0ef531a8c9b632156860 (diff)
downloaddexon-solidity-774363eb74023b90cfff0d9e6328103eceecc183.tar
dexon-solidity-774363eb74023b90cfff0d9e6328103eceecc183.tar.gz
dexon-solidity-774363eb74023b90cfff0d9e6328103eceecc183.tar.bz2
dexon-solidity-774363eb74023b90cfff0d9e6328103eceecc183.tar.lz
dexon-solidity-774363eb74023b90cfff0d9e6328103eceecc183.tar.xz
dexon-solidity-774363eb74023b90cfff0d9e6328103eceecc183.tar.zst
dexon-solidity-774363eb74023b90cfff0d9e6328103eceecc183.zip
Add copy constructor to ErrorReporter (since it has assignment operator)
-rw-r--r--libsolidity/interface/ErrorReporter.h3
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);