mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +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
|
|
@ -5176,8 +5176,7 @@ Editor::get_preferred_edit_position (EditIgnoreOption ignore, bool from_context_
|
|||
break;
|
||||
}
|
||||
}
|
||||
/* fallthrough */
|
||||
|
||||
[[fallthrough]];
|
||||
default:
|
||||
case EditAtMouse:
|
||||
if (!mouse_sample (ms, ignored)) {
|
||||
|
|
@ -6840,14 +6839,14 @@ Editor::default_time_domain () const
|
|||
|
||||
switch (_grid_type) {
|
||||
case GridTypeNone:
|
||||
/* fallthrough */
|
||||
[[fallthrough]];
|
||||
case GridTypeMinSec:
|
||||
/* fallthrough */
|
||||
[[fallthrough]];
|
||||
case GridTypeCDFrame:
|
||||
/* fallthrough */
|
||||
[[fallthrough]];
|
||||
case GridTypeTimecode:
|
||||
/* fallthrough */
|
||||
return AudioTime;
|
||||
[[fallthrough]];
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue