diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-02-23 08:43:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-23 08:43:18 +0100 |
commit | bd10c7045865bc7788f695b3ecc4fb136a499d87 (patch) | |
tree | 17b378d5698fe51bcd2e67aa648e704b29427b88 /modules/visual_script/visual_script_editor.cpp | |
parent | 63b0d822d109f3612d5c22e4342ebef9cd3b9163 (diff) | |
parent | 2cf6ac6c507529884d6b8acfdc42f3bc1826b19d (diff) |
Merge pull request #36461 from akien-mga/c++17-fallthrough-attribute
Replace FALLTHROUGH macro by C++17 [[fallthrough]]
Diffstat (limited to 'modules/visual_script/visual_script_editor.cpp')
-rw-r--r-- | modules/visual_script/visual_script_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/visual_script/visual_script_editor.cpp b/modules/visual_script/visual_script_editor.cpp index c556527e9b..787f0b7f40 100644 --- a/modules/visual_script/visual_script_editor.cpp +++ b/modules/visual_script/visual_script_editor.cpp @@ -3906,7 +3906,7 @@ void VisualScriptEditor::_notification(int p_what) { case NOTIFICATION_READY: { variable_editor->connect_compat("changed", this, "_update_members"); signal_editor->connect_compat("changed", this, "_update_members"); - FALLTHROUGH; + [[fallthrough]]; } case NOTIFICATION_THEME_CHANGED: { if (p_what != NOTIFICATION_READY && !is_visible_in_tree()) { |