Skip to content

Commit

Permalink
Use constexpr instead of const (I forgot to save this one)
Browse files Browse the repository at this point in the history
  • Loading branch information
pietroglyph committed Sep 3, 2019
1 parent 6ff53af commit 9745319
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ferry-tempo/lib/fow/LightHelper.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9745319

Please sign in to comment.