mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 18:25:37 +08:00
Use fallthrough attribute (C++17 feature)
This commit is contained in:
@@ -382,7 +382,7 @@ namespace BlackCore
|
||||
matchedModel = candidates.minOrderOrDefault();
|
||||
break;
|
||||
}
|
||||
Q_FALLTHROUGH();
|
||||
[[fallthrough]];
|
||||
case CAircraftMatcherSetup::PickFirst: // fallthru intentionally
|
||||
default:
|
||||
usedStrategy = CAircraftMatcherSetup::PickFirst; // re-assigned if fall-through
|
||||
|
||||
Reference in New Issue
Block a user