Skip to content

Commit

Permalink
Remove unnecessary FMT (#17795)
Browse files Browse the repository at this point in the history
There's an unnecessary `fmt::format` here caught in the code review: #17678 (comment)

This simply removes it.

(cherry picked from commit 93d592b)
Service-Card-Id: PVTI_lADOAF3p4s4AmhmQzgSwIS4
Service-Version: 1.22
  • Loading branch information
carlos-zamora authored and DHowett committed Sep 4, 2024
1 parent b3f0afb commit 85afa41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cascadia/TerminalSettingsModel/Command.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,7 @@ namespace winrt::Microsoft::Terminal::Settings::Model::implementation
// covers actions w/out args
// - "command": "unbound" --> "unbound"
// - "command": "copy" --> "copy"
changes.emplace(fmt::format(FMT_COMPILE("{}"), json.asString()));
changes.emplace(json.asString());
}
else
{
Expand Down

0 comments on commit 85afa41

Please sign in to comment.