mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Equality operators for ModelCheckerSettings and ImportRemapper
This commit is contained in:
@@ -35,6 +35,15 @@ class ImportRemapper
|
||||
public:
|
||||
struct Remapping
|
||||
{
|
||||
bool operator!=(Remapping const& _other) const noexcept { return !(*this == _other); }
|
||||
bool operator==(Remapping const& _other) const noexcept
|
||||
{
|
||||
return
|
||||
context == _other.context &&
|
||||
prefix == _other.prefix &&
|
||||
target == _other.target;
|
||||
}
|
||||
|
||||
std::string context;
|
||||
std::string prefix;
|
||||
std::string target;
|
||||
|
||||
Reference in New Issue
Block a user