mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-30 05:51:23 +08:00
refactor: Fix clang-tidy modernize-return-braced-init-list
This commit is contained in:
@@ -40,7 +40,7 @@ CStatusMessageList CSwiftGuiStdApplication::startHookIn()
|
||||
const CStatusMessage m =
|
||||
CStatusMessage(this, CLogCategories::validation()).error(u"Inconsistent pair DBus: '%1' and core: '%2'")
|
||||
<< dBusAddress << coreModeStr;
|
||||
return CStatusMessageList(m);
|
||||
return { m };
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user