From c00655e41f9e6474a9848df09a5702db584de2d4 Mon Sep 17 00:00:00 2001 From: Igor Stepanenko Date: Thu, 1 Feb 2024 22:04:03 +0300 Subject: [PATCH] Apply suggestions from code review Style fixes Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- src/mutation_ui.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mutation_ui.cpp b/src/mutation_ui.cpp index c40ccb0d65e1e..f5427c41f728a 100644 --- a/src/mutation_ui.cpp +++ b/src/mutation_ui.cpp @@ -49,13 +49,13 @@ static const auto shortcut_desc = []( const std::string_view comment, const std: // needs extensive improvement static std::optional GetTrait( const std::vector &active, - const std::vector &passive, - int cursor, mutation_tab_mode tab_mode ) + const std::vector &passive, + int cursor, mutation_tab_mode tab_mode ) { std::optional mut_id; if( tab_mode == mutation_tab_mode::active ) { mut_id = active[cursor]; - } else if ( tab_mode == mutation_tab_mode::passive ) { + } else if( tab_mode == mutation_tab_mode::passive ) { mut_id = passive[cursor]; } return mut_id;