diff options
author | hbina085 <hanif.ariffin.4326@gmail.com> | 2019-06-28 23:09:59 -0400 |
---|---|---|
committer | hbina085 <hanif.ariffin.4326@gmail.com> | 2019-06-29 16:08:48 -0400 |
commit | 9f0c6a60095025cb7f67a36ffa81e8709d645a66 (patch) | |
tree | 2d4419aaf70b84fe81e26dc9227ef6940437d217 /modules/gridmap | |
parent | 3942c939e3ed152d4cf9647411f34d1bc14cdec2 (diff) |
Many fallthrough switch cases now have the FALLTHROUGH macro to tell the compiler that this is intended.
Diffstat (limited to 'modules/gridmap')
-rw-r--r-- | modules/gridmap/grid_map_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gridmap/grid_map_editor_plugin.cpp b/modules/gridmap/grid_map_editor_plugin.cpp index 03619aa0bd..20e454c218 100644 --- a/modules/gridmap/grid_map_editor_plugin.cpp +++ b/modules/gridmap/grid_map_editor_plugin.cpp @@ -235,7 +235,7 @@ void GridMapEditor::_menu_option(int p_option) { options->get_popup()->set_item_checked(idx, !options->get_popup()->is_item_checked(idx)); } break; - case MENU_OPTION_SELECTION_DUPLICATE: // fallthrough + case MENU_OPTION_SELECTION_DUPLICATE: case MENU_OPTION_SELECTION_CUT: { if (!(selection.active && input_action == INPUT_NONE)) break; |