mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
C++11 fallthrough (2/2)
This commit is contained in:
parent
f02e5d3a9f
commit
157ccbbdb5
11 changed files with 32 additions and 33 deletions
|
|
@ -190,8 +190,8 @@ ArdourMarker::ArdourMarker (PublicEditor& ed, ArdourCanvas::Item& parent, std::s
|
|||
*/
|
||||
|
||||
switch (_type) {
|
||||
case Mark: /* fallthough */
|
||||
case RegionCue: /* fallthough */
|
||||
case Mark: [[fallthrough]];
|
||||
case RegionCue: [[fallthrough]];
|
||||
case BBTPosition:
|
||||
points = new ArdourCanvas::Points ();
|
||||
|
||||
|
|
@ -297,13 +297,13 @@ ArdourMarker::ArdourMarker (PublicEditor& ed, ArdourCanvas::Item& parent, std::s
|
|||
|
||||
switch (_type) {
|
||||
case RegionCue:
|
||||
/* fallthrough */
|
||||
[[fallthrough]];
|
||||
case Meter:
|
||||
/* fallthrough */
|
||||
[[fallthrough]];
|
||||
case Tempo:
|
||||
/* fallthrough */
|
||||
[[fallthrough]];
|
||||
case SelectionStart:
|
||||
/* fallthrough */
|
||||
[[fallthrough]];
|
||||
case SelectionEnd:
|
||||
_name_flag = 0;
|
||||
break;
|
||||
|
|
@ -325,7 +325,7 @@ ArdourMarker::ArdourMarker (PublicEditor& ed, ArdourCanvas::Item& parent, std::s
|
|||
|
||||
switch (_type) {
|
||||
case SelectionStart:
|
||||
/* fallthrough */
|
||||
[[fallthrough]];
|
||||
case SelectionEnd:
|
||||
_pcue->hide();
|
||||
_pmark->show();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue