From 9745319e68f87b4f7a2fc0e5119942dfbf24e560 Mon Sep 17 00:00:00 2001 From: Declan Freeman-Gleason Date: Tue, 3 Sep 2019 01:30:12 -0700 Subject: [PATCH] Use constexpr instead of const (I forgot to save this one) --- ferry-tempo/lib/fow/LightHelper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ferry-tempo/lib/fow/LightHelper.h b/ferry-tempo/lib/fow/LightHelper.h index 77e493e..f5ee146 100644 --- a/ferry-tempo/lib/fow/LightHelper.h +++ b/ferry-tempo/lib/fow/LightHelper.h @@ -49,7 +49,7 @@ class LightHelper { Modes mode; Directions direction; - static const double blinkDuration = 800; // In milleseconds + static constexpr double blinkDuration = 800; // In milleseconds const int redIntensity; const int greenIntensity;