mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-17 12:09:19 +02: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:
@@ -1116,7 +1116,7 @@ drivermouse_input::default_bindings() {
|
||||
}
|
||||
|
||||
user_command
|
||||
drivermouse_input::adjust_command( user_command Command ) {
|
||||
drivermouse_input::adjust_command( user_command Command ) const {
|
||||
|
||||
if( true == Global.shiftState
|
||||
&& Command != user_command::none ) {
|
||||
|
||||
Reference in New Issue
Block a user