From 93d592bb4156e85f66f34a57ee7f707cc7ba0f15 Mon Sep 17 00:00:00 2001 From: Carlos Zamora Date: Mon, 26 Aug 2024 14:38:11 -0700 Subject: [PATCH] Remove unnecessary FMT (#17795) There's an unnecessary `fmt::format` here caught in the code review: https://github.com/microsoft/terminal/pull/17678#discussion_r1729426705 This simply removes it. --- src/cascadia/TerminalSettingsModel/Command.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cascadia/TerminalSettingsModel/Command.cpp b/src/cascadia/TerminalSettingsModel/Command.cpp index 2f4cc17f708..7ec4d073747 100644 --- a/src/cascadia/TerminalSettingsModel/Command.cpp +++ b/src/cascadia/TerminalSettingsModel/Command.cpp @@ -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 {