chore: remove FMT_STRING macros (#8354)

This commit is contained in:
Charles Kerr
2026-02-04 07:44:33 -06:00
committed by GitHub
parent a1228ab1dd
commit f9d4ced2d0
2 changed files with 2 additions and 2 deletions

View File

@@ -714,7 +714,7 @@ bool trashDataFile(std::string_view const filename, tr_error* error)
}
auto const old_list = tr_torrentGetTrackerList(self.fHandle);
auto const new_list = fmt::format(FMT_STRING("{:s}\n\n{:s}"), old_list, new_tracker.UTF8String);
auto const new_list = fmt::format("{:s}\n\n{:s}", old_list, new_tracker.UTF8String);
BOOL const success = tr_torrentSetTrackerList(self.fHandle, new_list);
return success;

View File

@@ -153,7 +153,7 @@ public:
static std::string createSandbox(std::string const& parent_dir, std::string const& tmpl)
{
auto path = fmt::format(FMT_STRING("{:s}/{:s}"sv), tr_sys_path_resolve(parent_dir), tmpl);
auto path = fmt::format("{:s}/{:s}"sv, tr_sys_path_resolve(parent_dir), tmpl);
tr_sys_dir_create_temp(std::data(path));
tr_sys_path_native_separators(std::data(path));
return path;