mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-06 10:28:41 +01:00
refactor(sonar): make read-only global tables const (cpp:S5421)
Mutable global state (flags, timers, singletons) is left as is.
This commit is contained in:
@@ -18,7 +18,7 @@ namespace Mtable
|
||||
{
|
||||
|
||||
static int const MaxTTableSize = 100; // można by to robić dynamicznie
|
||||
static char const *hrsd = ".";
|
||||
static char const *const hrsd = ".";
|
||||
|
||||
// Ra: pozycja zerowa rozkładu chyba nie ma sensu
|
||||
// Ra: numeracja przystanków jest 1..StationCount
|
||||
|
||||
Reference in New Issue
Block a user