mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add copy constructor to ErrorReporter (since it has assignment operator)
This commit is contained in:
parent
ec6d8007db
commit
774363eb74
@ -39,6 +39,9 @@ public:
|
|||||||
explicit ErrorReporter(ErrorList& _errors):
|
explicit ErrorReporter(ErrorList& _errors):
|
||||||
m_errorList(_errors) { }
|
m_errorList(_errors) { }
|
||||||
|
|
||||||
|
ErrorReporter(ErrorReporter const& _errorReporter) noexcept:
|
||||||
|
m_errorList(_errorReporter.m_errorList) { }
|
||||||
|
|
||||||
ErrorReporter& operator=(ErrorReporter const& _errorReporter);
|
ErrorReporter& operator=(ErrorReporter const& _errorReporter);
|
||||||
|
|
||||||
void warning(std::string const& _description);
|
void warning(std::string const& _description);
|
||||||
|
Loading…
Reference in New Issue
Block a user