mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-17 12:09:19 +02:00
refactor(sonar): make read-only local references and pointers const (cpp:S5350)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -210,7 +210,7 @@ drivermouse_input::recall_bindings() {
|
||||
}
|
||||
// TODO: binding targets for mouse buttons
|
||||
|
||||
for( auto &bindingtarget : bindingtargets ) {
|
||||
for( auto const &bindingtarget : bindingtargets ) {
|
||||
// grab command(s) associated with the input pin
|
||||
auto const bindingcommandname{ entryparser.getToken<std::string>() };
|
||||
if( true == bindingcommandname.empty() ) {
|
||||
|
||||
Reference in New Issue
Block a user