You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the current version (from repository), the != operator is written as follows
(line 267 in common/shapes.h):
inline bool operator !=(const Point& a, const Point& b)
{
return a.x != b.x && a.y != b.y;
}
It's not very consistent with the behaviour of == operator:
inline bool operator ==(const Point& a, const Point& b)
{
return a.x == b.x && a.y == b.y;
}
The inequility should be !(a == b).
Original issue reported on code.google.com by e...@multitou.ch on 13 Jan 2012 at 1:27
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
e...@multitou.ch
on 13 Jan 2012 at 1:27The text was updated successfully, but these errors were encountered: