use more libfmt instead of sprintf()

This commit is contained in:
Max Kellermann
2023-03-06 18:47:08 +01:00
parent 02d108774c
commit 415de497d3
18 changed files with 76 additions and 115 deletions

View File

@@ -51,7 +51,7 @@ ThreadInputStream::Start()
inline void
ThreadInputStream::ThreadFunc() noexcept
{
FormatThreadName("input:%s", plugin);
FmtThreadName("input:{}", plugin);
std::unique_lock<Mutex> lock(mutex);