Fix some recent code smells (#9395)

This commit is contained in:
Oleg Derevenetz
2024-12-31 09:40:07 +08:00
committed by GitHub
parent 2c69952d30
commit 6d94347463
+1 -1
View File
@@ -568,7 +568,7 @@ namespace
lastButtonRow.back().button.hide();
lastButtonRow.emplace_back( "-", getDefaultButtonWidth( fheroes2::SupportedLanguage::English ), isEvilInterface,
[]( KeyboardRenderer & ) { return DialogAction::DoNothing; } );
[]( const KeyboardRenderer & ) { return DialogAction::DoNothing; } );
lastButtonRow.back().button.hide();
lastButtonRow.emplace_back( "0", getDefaultButtonWidth( fheroes2::SupportedLanguage::English ), isEvilInterface, []( KeyboardRenderer & renderer ) {