From 17152614725d6079726d42e63157da74616606ad Mon Sep 17 00:00:00 2001 From: Christof Kaufmann Date: Wed, 26 May 2021 13:28:59 +0200 Subject: Add missing const in unary operator- --- src/pixeltypes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3