Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FastLED/FastLED.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kriegsman <1334634+kriegsman@users.noreply.github.com>2021-07-18 19:54:16 +0300
committerGitHub <noreply@github.com>2021-07-18 19:54:16 +0300
commit765d4244889a692bb453cd4087af31e01c937035 (patch)
treeb1f38a34a6443a7e16f719f3b42b823322bed99c
parentdbf0ff17e9c47d73f59832a88dd47a888005cd86 (diff)
parent17152614725d6079726d42e63157da74616606ad (diff)
Merge pull request #1240 from ChristofKaufmann/fix_missing_const
Add missing 'const' in unary operator-
-rw-r--r--src/pixeltypes.h2
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;