mirror of
https://github.com/transmission/transmission.git
synced 2026-02-14 23:19:34 +00:00
chore: remove FMT_STRING macros (#8354)
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user