Skip to content

Commit

Permalink
Remove unnecessary braces from cases
Browse files Browse the repository at this point in the history
  • Loading branch information
carlos-zamora committed Jun 10, 2021
1 parent af2a88d commit a5e6d46
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/cascadia/TerminalSettingsModel/ActionMap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,9 @@ namespace winrt::Microsoft::Terminal::Settings::Model::implementation
{
#define ON_ALL_ACTIONS_WITH_ARGS(action) \
case ShortcutAction::action: \
{ \
/* If it does, hash the default values for the args.*/ \
hashedArgs = gsl::narrow_cast<size_t>(make<action##Args>().Hash()); \
break; \
}
break;
ALL_SHORTCUT_ACTIONS_WITH_ARGS
#undef ON_ALL_ACTIONS_WITH_ARGS
default:
Expand Down

0 comments on commit a5e6d46

Please sign in to comment.