mirror of https://github.com/YosysHQ/nextpnr.git
parent
10c5997007
commit
12bb6df237
|
|
@ -111,7 +111,7 @@ struct GroupId
|
|||
int8_t x = 0, y = 0;
|
||||
|
||||
bool operator==(const GroupId &other) const { return (type == other.type) && (x == other.x) && (y == other.y); }
|
||||
bool operator!=(const GroupId &other) const { return (type != other.type) || (x != other.x) || (y == other.y); }
|
||||
bool operator!=(const GroupId &other) const { return (type != other.type) || (x != other.x) || (y != other.y); }
|
||||
unsigned int hash() const { return mkhash(mkhash(x, y), int(type)); }
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue