[common] Fix typo in Loc::operator!=()
This commit is contained in:
parent
519bcd31bf
commit
6527e3b6ae
@ -191,7 +191,7 @@ struct Loc
|
|||||||
Loc(int x, int y, int z) : x(x), y(y), z(z) {}
|
Loc(int x, int y, int z) : x(x), y(y), z(z) {}
|
||||||
|
|
||||||
bool operator==(const Loc &other) const { return (x == other.x) && (y == other.y) && (z == other.z); }
|
bool operator==(const Loc &other) const { return (x == other.x) && (y == other.y) && (z == other.z); }
|
||||||
bool operator!=(const Loc &other) const { return (x != other.x) || (y != other.y) || (z == other.z); }
|
bool operator!=(const Loc &other) const { return (x != other.x) || (y != other.y) || (z != other.z); }
|
||||||
};
|
};
|
||||||
|
|
||||||
NEXTPNR_NAMESPACE_END
|
NEXTPNR_NAMESPACE_END
|
||||||
|
Loading…
Reference in New Issue
Block a user