mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-19 21:34:58 +01:00
refactor(sonar): declare non-mutating member functions const (cpp:S5817)
Virtual functions are left untouched so overrides keep matching.
This commit is contained in:
@@ -5,7 +5,7 @@ class headtrack
|
||||
int joy_id = -1;
|
||||
|
||||
void find_joy();
|
||||
float get_axis(const float *data, int count, int axis, float mul);
|
||||
float get_axis(const float *data, int count, int axis, float mul) const;
|
||||
|
||||
public:
|
||||
headtrack();
|
||||
|
||||
Reference in New Issue
Block a user