16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-21 14:49:19 +02:00

reformat: use contains()

This commit is contained in:
jerrrrycho
2026-07-03 22:27:42 +02:00
parent 565aeb0c70
commit a4c126b4ea
7 changed files with 15 additions and 15 deletions

View File

@@ -78,7 +78,7 @@ std::string control_mapper::find(TSubModel const *Control) const
bool control_mapper::contains(std::string const Control) const
{
return m_names.find(Control) != m_names.end();
return m_names.contains(Control);
}
void TTrain::screen_entry::deserialize(cParser &Input)