mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
refactor: Fix clang-tidy modernize-return-braced-init-list
This commit is contained in:
@@ -350,7 +350,7 @@ namespace swift::gui::components
|
||||
|
||||
swift::misc::aviation::CLivery CDbAutoStashingComponent::getTempLivery()
|
||||
{
|
||||
if (!sGui || !sGui->hasWebDataServices()) { return CLivery(); }
|
||||
if (!sGui || !sGui->hasWebDataServices()) { return {}; }
|
||||
return sGui->getWebDataServices()->getTempLiveryOrDefault();
|
||||
}
|
||||
} // namespace swift::gui::components
|
||||
|
||||
Reference in New Issue
Block a user