mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Mark a lot of functions const (where possible)
This commit is contained in:
@@ -88,7 +88,7 @@ public:
|
||||
m_errorReporter(m_errorList) {}
|
||||
|
||||
/// @returns the list of errors that occured during parsing and type checking.
|
||||
ErrorList const& errors() { return m_errorReporter.errors(); }
|
||||
ErrorList const& errors() const { return m_errorReporter.errors(); }
|
||||
|
||||
/// @returns the current state.
|
||||
State state() const { return m_stackState; }
|
||||
|
||||
Reference in New Issue
Block a user