lib/fmt: remove the rest of the broken use of FMT_STRING
Fixes: 9db7144d0fa4512335070a984690f3f5034210a5 Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
parent
da6efd6361
commit
5de0909ae5
src
@ -62,7 +62,7 @@ protected:
|
||||
void Run() override;
|
||||
|
||||
void SendResponse(Response &r) noexcept override {
|
||||
r.Fmt(FMT_STRING("chromaprint: {}\n"),
|
||||
r.Fmt("chromaprint: {}\n",
|
||||
GetFingerprint());
|
||||
}
|
||||
|
||||
|
@ -46,8 +46,8 @@ handle_listneighbors(Client &client, [[maybe_unused]] Request args, Response &r)
|
||||
}
|
||||
|
||||
for (const auto &i : neighbors->GetList())
|
||||
r.Fmt(FMT_STRING("neighbor: {}\n"
|
||||
"name: {}\n"),
|
||||
r.Fmt("neighbor: {}\n"
|
||||
"name: {}\n",
|
||||
i.uri,
|
||||
i.display_name);
|
||||
return CommandResult::OK;
|
||||
|
@ -685,7 +685,7 @@ PipeWireOutput::ParamChanged([[maybe_unused]] uint32_t id,
|
||||
::SetVolume(*stream, channels, volume);
|
||||
} catch (...) {
|
||||
FmtError(pipewire_output_domain,
|
||||
FMT_STRING("Failed to restore volume: {}"),
|
||||
"Failed to restore volume: {}",
|
||||
std::current_exception());
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user