Merge pull request #2821 from ethereum/errorreporter-copy

Add copy constructor to ErrorReporter (since it has assignment operator)
This commit is contained in:
Alex Beregszaszi 2017-08-25 20:40:27 +01:00 committed by GitHub
commit 2b3a49f702

View File

@ -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);