mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-27 02:01:42 +00:00
[wpilibc] Add Color::operator!= (#2887)
This commit is contained in:
@@ -809,6 +809,8 @@ inline bool operator==(const Color& c1, const Color& c2) {
|
||||
return c1.red == c2.red && c1.green == c2.green && c1.blue == c2.blue;
|
||||
}
|
||||
|
||||
inline bool operator!=(const Color& c1, const Color& c2) { return !(c1 == c2); }
|
||||
|
||||
/*
|
||||
* FIRST Colors
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user