mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-06 10:26:03 +08:00
refactor: Fix clang-tidy modernize-return-braced-init-list
This commit is contained in:
@@ -36,6 +36,6 @@ namespace swift::core::fsd
|
||||
return {};
|
||||
}
|
||||
|
||||
return VisualPilotDataToggle(tokens[0], tokens[1], tokens[2] == QStringLiteral("1"));
|
||||
return { tokens[0], tokens[1], tokens[2] == QStringLiteral("1") };
|
||||
}
|
||||
} // namespace swift::core::fsd
|
||||
|
||||
Reference in New Issue
Block a user