aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/interface/ErrorReporter.h
diff options
context:
space:
mode:
Diffstat (limited to 'libsolidity/interface/ErrorReporter.h')
-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);