Many fallthrough switch cases now have the FALLTHROUGH macro to tell the compiler that this is intended.
This commit is contained in:
parent
3942c939e3
commit
9f0c6a6009
7 changed files with 19 additions and 12 deletions
|
|
@ -61,8 +61,8 @@ void TileMapEditor::_notification(int p_what) {
|
|||
if (is_visible_in_tree()) {
|
||||
_update_palette();
|
||||
}
|
||||
|
||||
} // fallthrough
|
||||
FALLTHROUGH;
|
||||
}
|
||||
|
||||
case NOTIFICATION_ENTER_TREE: {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue