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:
Diffstat (limited to 'src/pixeltypes.h')
-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;