[wpilibc] Add Color::operator!= (#2887)

This commit is contained in:
Tyler Veness
2020-11-24 19:26:00 -08:00
committed by GitHub
parent 6c00e7a902
commit 5cd2ad124d

View File

@@ -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
*/