diff options
author | Christof Kaufmann <christofkaufmann.dev@gmail.com> | 2021-05-26 14:28:59 +0300 |
---|---|---|
committer | Christof Kaufmann <christofkaufmann.dev@gmail.com> | 2021-05-26 15:15:44 +0300 |
commit | 17152614725d6079726d42e63157da74616606ad (patch) | |
tree | 025f33a562384c2e25e9be969fb65ea540461582 | |
parent | cfffa1351497425931fb9ef5bad0eeb7b0cf8645 (diff) |
Add missing const in unary operator-
-rw-r--r-- | src/pixeltypes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pixeltypes.h b/src/pixeltypes.h index 6e91723d..62adf805 100644 --- a/src/pixeltypes.h +++ b/src/pixeltypes.h @@ -412,7 +412,7 @@ struct CRGB { } /// invert each channel - inline CRGB operator- () + inline CRGB operator- () const { CRGB retval; retval.r = 255 - r; |