mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 01:45:38 +08:00
clang-format src
This commit is contained in:
@@ -16,19 +16,18 @@ BLACK_DEFINE_SEQUENCE_MIXINS(BlackMisc::Simulation, CSimulatorPluginInfo, CSimul
|
||||
|
||||
namespace BlackMisc::Simulation
|
||||
{
|
||||
CSimulatorPluginInfoList::CSimulatorPluginInfoList() { }
|
||||
CSimulatorPluginInfoList::CSimulatorPluginInfoList() {}
|
||||
|
||||
bool CSimulatorPluginInfoList::supportsSimulator(const QString &simulator) const
|
||||
{
|
||||
return std::find_if(begin(), end(), [&simulator](const CSimulatorPluginInfo & info)
|
||||
{
|
||||
return info.getSimulator() == simulator;
|
||||
}) != end();
|
||||
return std::find_if(begin(), end(), [&simulator](const CSimulatorPluginInfo &info) {
|
||||
return info.getSimulator() == simulator;
|
||||
}) != end();
|
||||
}
|
||||
|
||||
QStringList CSimulatorPluginInfoList::toStringList(bool i18n) const
|
||||
{
|
||||
return this->transform([i18n](const CSimulatorPluginInfo & info) { return info.toQString(i18n); });
|
||||
return this->transform([i18n](const CSimulatorPluginInfo &info) { return info.toQString(i18n); });
|
||||
}
|
||||
|
||||
CSimulatorPluginInfo CSimulatorPluginInfoList::findByIdentifier(const QString &identifier) const
|
||||
|
||||
Reference in New Issue
Block a user