mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
Closes #1392
This commit is contained in:
parent
4b7cd81ad0
commit
274d65818d
|
@ -12693,7 +12693,7 @@ In rare cases if fallthrough is deemed appropriate, be explicit and use the `[[f
|
|||
break;
|
||||
case Warning:
|
||||
write_event_log();
|
||||
[[fallthrough]]; // C++17 (and legal but ignored since C++11)
|
||||
[[fallthrough]];
|
||||
case Error:
|
||||
display_error_window();
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue
Block a user