lib/fmt: remove the rest of the broken use of FMT_STRING
Fixes: 9db7144d0f
Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user