mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-17 08:39:19 +02:00
refactor(sonar): use range-based loops and ranges algorithms (cpp:S5566)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -217,9 +217,9 @@ void TTrainParameters::NewName(std::string const &NewTrainName)
|
||||
Direction = 1;
|
||||
Relation1 = "";
|
||||
Relation2 = "";
|
||||
for (int i = 0; i < MaxTTableSize + 1; ++i)
|
||||
for (auto &tableline : TimeTable)
|
||||
{
|
||||
TimeTable[ i ] = TMTableLine();
|
||||
tableline = TMTableLine();
|
||||
}
|
||||
TTVmax = 100; /*wykasowac*/
|
||||
BrakeRatio = 0;
|
||||
|
||||
Reference in New Issue
Block a user