migrate some more code to mu_format / join_paths

Let's modernize a bit.
This commit is contained in:
Dirk-Jan C. Binnema
2023-07-20 18:36:00 +03:00
parent 8c11f6f71f
commit 7b38f094c4
6 changed files with 29 additions and 34 deletions

View File

@ -359,7 +359,7 @@ to_string(const ThreadPath& tpath, size_t digits)
bool first{true};
for (auto&& segm : tpath) {
str += format("%s%0*x", first ? "" : ":", (int)digits, segm);
str += mu_format("{}{:0{}x}", first ? "" : ":", segm, digits);
first = false;
}