Merge branch 'solc-0.7' into solc-0.8
This commit is contained in:
@ -34,7 +34,15 @@ contract EnumerableMapMock {
|
||||
}
|
||||
|
||||
|
||||
function tryGet(uint256 key) public view returns (bool, address) {
|
||||
return _map.tryGet(key);
|
||||
}
|
||||
|
||||
function get(uint256 key) public view returns (address) {
|
||||
return _map.get(key);
|
||||
}
|
||||
|
||||
function getWithMessage(uint256 key, string calldata errorMessage) public view returns (address) {
|
||||
return _map.get(key, errorMessage);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user