mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-04 00:45:46 +08:00
Use fallthrough attribute (C++17 feature)
This commit is contained in:
@@ -45,7 +45,7 @@ namespace BlackGui
|
||||
{
|
||||
case NormalWithOrder:
|
||||
m_columns.addColumn(CColumn::orderColumn());
|
||||
Q_FALLTHROUGH();
|
||||
[[fallthrough]];
|
||||
case NotSet:
|
||||
case Normal:
|
||||
{
|
||||
@@ -64,7 +64,7 @@ namespace BlackGui
|
||||
|
||||
case MinimalWithOrder:
|
||||
m_columns.addColumn(CColumn::orderColumn());
|
||||
Q_FALLTHROUGH();
|
||||
[[fallthrough]];
|
||||
case Minimal:
|
||||
{
|
||||
m_columns.addColumn(CColumn::standardString("key", CDistributor::IndexDbStringKey));
|
||||
|
||||
Reference in New Issue
Block a user