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:
@@ -70,7 +70,7 @@ Scope::Identifier* Scope::lookup(string const& _name)
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
bool Scope::exists(string const& _name)
|
||||
bool Scope::exists(string const& _name) const
|
||||
{
|
||||
if (identifiers.count(_name))
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user