mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #2821 from ethereum/errorreporter-copy
Add copy constructor to ErrorReporter (since it has assignment operator)
This commit is contained in:
commit
2b3a49f702
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user