Add missing operator needed by router_improve
This commit is contained in:
parent
d5ca744ca0
commit
fa3d366ddb
@ -70,6 +70,7 @@ struct BelId
|
|||||||
|
|
||||||
bool operator==(const BelId &other) const { return index == other.index; }
|
bool operator==(const BelId &other) const { return index == other.index; }
|
||||||
bool operator!=(const BelId &other) const { return index != other.index; }
|
bool operator!=(const BelId &other) const { return index != other.index; }
|
||||||
|
bool operator<(const BelId &other) const { return index < other.index; }
|
||||||
};
|
};
|
||||||
|
|
||||||
struct WireId
|
struct WireId
|
||||||
@ -78,6 +79,7 @@ struct WireId
|
|||||||
|
|
||||||
bool operator==(const WireId &other) const { return index == other.index; }
|
bool operator==(const WireId &other) const { return index == other.index; }
|
||||||
bool operator!=(const WireId &other) const { return index != other.index; }
|
bool operator!=(const WireId &other) const { return index != other.index; }
|
||||||
|
bool operator<(const WireId &other) const { return index < other.index; }
|
||||||
};
|
};
|
||||||
|
|
||||||
struct PipId
|
struct PipId
|
||||||
@ -86,6 +88,7 @@ struct PipId
|
|||||||
|
|
||||||
bool operator==(const PipId &other) const { return index == other.index; }
|
bool operator==(const PipId &other) const { return index == other.index; }
|
||||||
bool operator!=(const PipId &other) const { return index != other.index; }
|
bool operator!=(const PipId &other) const { return index != other.index; }
|
||||||
|
bool operator<(const PipId &other) const { return index < other.index; }
|
||||||
};
|
};
|
||||||
|
|
||||||
struct GroupId
|
struct GroupId
|
||||||
|
Loading…
Reference in New Issue
Block a user