diff options
author | Uwe Klotz <uklotz@mixxx.org> | 2020-01-09 22:11:55 +0100 |
---|---|---|
committer | Uwe Klotz <uklotz@mixxx.org> | 2020-01-15 00:44:42 +0100 |
commit | 722d3a854b96e883ba43d3b139b2a02359d4405b (patch) | |
tree | 3827fb1456271e1adad3275ca9134837f8c72f69 /src/control/controlindicator.cpp | |
parent | 82883854dddd0d4fff8f65f72a6103584642586a (diff) |
Use C++17 attribute [[fallthrough]]
Diffstat (limited to 'src/control/controlindicator.cpp')
-rw-r--r-- | src/control/controlindicator.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/control/controlindicator.cpp b/src/control/controlindicator.cpp index 62c6cd9a36..c2e225a89f 100644 --- a/src/control/controlindicator.cpp +++ b/src/control/controlindicator.cpp @@ -35,8 +35,10 @@ void ControlIndicator::slotGuiTick50ms(double cpuTime) { case RATIO1TO1_250MS: toggle(0.25); break; - case OFF: // fall through - case ON: // fall through + case OFF: + [[fallthrough]]; + case ON: + [[fallthrough]]; default: // nothing to do break; |