summaryrefslogtreecommitdiff
path: root/editor/editor_node.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-02-23 08:43:18 +0100
committerGitHub <noreply@github.com>2020-02-23 08:43:18 +0100
commitbd10c7045865bc7788f695b3ecc4fb136a499d87 (patch)
tree17b378d5698fe51bcd2e67aa648e704b29427b88 /editor/editor_node.cpp
parent63b0d822d109f3612d5c22e4342ebef9cd3b9163 (diff)
parent2cf6ac6c507529884d6b8acfdc42f3bc1826b19d (diff)
Merge pull request #36461 from akien-mga/c++17-fallthrough-attribute
Replace FALLTHROUGH macro by C++17 [[fallthrough]]
Diffstat (limited to 'editor/editor_node.cpp')
-rw-r--r--editor/editor_node.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp
index 413959bb99..d8043f016b 100644
--- a/editor/editor_node.cpp
+++ b/editor/editor_node.cpp
@@ -2178,7 +2178,7 @@ void EditorNode::_menu_option_confirm(int p_option, bool p_confirmed) {
break;
}
- FALLTHROUGH;
+ [[fallthrough]];
}
case SCENE_TAB_CLOSE:
case FILE_SAVE_SCENE: {
@@ -2199,7 +2199,7 @@ void EditorNode::_menu_option_confirm(int p_option, bool p_confirmed) {
break;
}
- FALLTHROUGH;
+ [[fallthrough]];
}
case FILE_SAVE_AS_SCENE: {
int scene_idx = (p_option == FILE_SAVE_SCENE || p_option == FILE_SAVE_AS_SCENE) ? -1 : tab_closing;