mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-21 19:29:19 +02:00
reformat: parameters can be made pointer to const
This commit is contained in:
@@ -53,7 +53,7 @@ node_groups::close()
|
||||
return handle();
|
||||
}
|
||||
|
||||
bool node_groups::assign_cross_switch(map::track_switch& sw, std::string &sw_name, std::string const &id, const size_t idx)
|
||||
bool node_groups::assign_cross_switch(map::track_switch& sw, const std::string &sw_name, std::string const &id, const size_t idx)
|
||||
{
|
||||
sw.action[idx] = simulation::Events.FindEvent(sw_name + ":" + id);
|
||||
if (!sw.action[idx])
|
||||
|
||||
Reference in New Issue
Block a user