diff options
author | Mark Kriegsman <1334634+kriegsman@users.noreply.github.com> | 2021-07-18 19:54:16 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-18 19:54:16 +0300 |
commit | 765d4244889a692bb453cd4087af31e01c937035 (patch) | |
tree | b1f38a34a6443a7e16f719f3b42b823322bed99c | |
parent | dbf0ff17e9c47d73f59832a88dd47a888005cd86 (diff) | |
parent | 17152614725d6079726d42e63157da74616606ad (diff) |
Merge pull request #1240 from ChristofKaufmann/fix_missing_const
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 addaafff..f28c2c67 100644 --- a/src/pixeltypes.h +++ b/src/pixeltypes.h @@ -420,7 +420,7 @@ struct CRGB { } /// invert each channel - inline CRGB operator- () + inline CRGB operator- () const { CRGB retval; retval.r = 255 - r; |