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; | ||||
|   | ||||
| @@ -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()); | ||||
| 			} | ||||
| 		} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Alfred Wingate
					Alfred Wingate