Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Style fixes

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
gearhand and github-actions[bot] authored Feb 1, 2024
1 parent 1ad22eb commit c00655e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/mutation_ui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ static const auto shortcut_desc = []( const std::string_view comment, const std:
// needs extensive improvement

static std::optional<trait_id> GetTrait( const std::vector<trait_id> &active,
const std::vector<trait_id> &passive,
int cursor, mutation_tab_mode tab_mode )
const std::vector<trait_id> &passive,
int cursor, mutation_tab_mode tab_mode )
{
std::optional<trait_id> 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;
Expand Down

0 comments on commit c00655e

Please sign in to comment.