diff options
author | Robin Gareus <robin@gareus.org> | 2018-08-07 15:48:39 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2018-08-07 15:48:39 +0200 |
commit | 149dc68809df326dbe6fe6fd3435db0252435e2b (patch) | |
tree | 66ea3c0656867003f86d83c04fd4ba3e9a1c94bf | |
parent | 8fa62f102e7bfb17e625b292524bad663667c771 (diff) |
Fix invalid C++11isms: don't use of enum as class or namespace
-rw-r--r-- | libs/surfaces/launch_control_xl/launch_control_xl.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/surfaces/launch_control_xl/launch_control_xl.h b/libs/surfaces/launch_control_xl/launch_control_xl.h index 960b9e762a..606645a10b 100644 --- a/libs/surfaces/launch_control_xl/launch_control_xl.h +++ b/libs/surfaces/launch_control_xl/launch_control_xl.h @@ -154,7 +154,7 @@ public: }; struct LED { - LED(uint8_t i, LEDColor c, LaunchControlXL& l) : _index(i), _color(c), _flag(LEDFlag::Normal), lcxl(&l) {} + LED(uint8_t i, LEDColor c, LaunchControlXL& l) : _index(i), _color(c), _flag(Normal), lcxl(&l) {} LED(uint8_t i, LEDColor c, LEDFlag f, LaunchControlXL& lcxl) : _index(i), _color(c), _flag(f) {} virtual ~LED() {} @@ -454,9 +454,9 @@ private: void button_device(); void button_device_long_press(); void button_track_mode(TrackMode state); - void button_mute() { button_track_mode(TrackMode::TrackMute); } - void button_solo() { button_track_mode(TrackMode::TrackSolo); } - void button_record() { button_track_mode(TrackMode::TrackRecord); } + void button_mute() { button_track_mode(TrackMute); } + void button_solo() { button_track_mode(TrackSolo); } + void button_record() { button_track_mode(TrackRecord); } void button_select_up(); void button_select_down(); void button_select_left(); |