mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-26 04:29:29 +01: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:
@@ -626,8 +626,8 @@ TTrain::TTrain()
|
||||
|
||||
for (int i = 0; i < 20; ++i)
|
||||
{
|
||||
for (int j = 0; j < 7; ++j)
|
||||
fPress[i][j] = 0.0;
|
||||
for (auto &press : fPress[i])
|
||||
press = 0.0;
|
||||
bBrakes[i][0] = bBrakes[i][1] = false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user