17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-05 12:09:02 +01:00

refactor(sonar): take read-only pointer and reference parameters as const (cpp:S995)

TTrain command handlers keep their signature, it is fixed by the handler table.
This commit is contained in:
jerrrrycho
2026-10-10 17:08:45 +02:00
parent 693a817d5e
commit 4532d5e037
21 changed files with 30 additions and 30 deletions

View File

@@ -62,7 +62,7 @@ private:
// coloring
void GetPerez( float *Perez, float Distribution[ 5 ][ 2 ], const float Turbidity ) const;
float GetZenith( float Zenithmatrix[ 3 ][ 4 ], const float Theta, const float Turbidity ) const;
float PerezFunctionO1( float Perezcoeffs[ 5 ], const float Thetasun, const float Zenithval ) const;
float PerezFunctionO2( float Perezcoeffs[ 5 ], const float Icostheta, const float Gamma, const float Cosgamma2, const float Zenithval ) const;
float PerezFunctionO1( float const Perezcoeffs[ 5 ], const float Thetasun, const float Zenithval ) const;
float PerezFunctionO2( float const Perezcoeffs[ 5 ], const float Icostheta, const float Gamma, const float Cosgamma2, const float Zenithval ) const;
};