[common] Fix typo in Loc::operator!=()

This commit is contained in:
Eddie Hung 2018-11-13 16:01:30 -08:00
parent 519bcd31bf
commit 6527e3b6ae

View File

@ -191,7 +191,7 @@ struct Loc
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); }
};
NEXTPNR_NAMESPACE_END