Index: ui/gfx/vector2d_f.h |
diff --git a/ui/gfx/vector2d_f.h b/ui/gfx/vector2d_f.h |
index fdd3a9e30841cc0681ebaf509d0a9d1ba17dde4a..a77c1930661f69c7b5dec47102635ee07a5ce592 100644 |
--- a/ui/gfx/vector2d_f.h |
+++ b/ui/gfx/vector2d_f.h |
@@ -70,6 +70,10 @@ inline bool operator==(const Vector2dF& lhs, const Vector2dF& rhs) { |
return lhs.x() == rhs.x() && lhs.y() == rhs.y(); |
} |
+inline bool operator!=(const Vector2dF& lhs, const Vector2dF& rhs) { |
+ return !(operator==(lhs, rhs)); |
danakj
2013/06/19 17:19:00
nit: return !(lhs == rhs);
|
+} |
+ |
inline Vector2dF operator-(const Vector2dF& v) { |
return Vector2dF(-v.x(), -v.y()); |
} |