1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:28:12 +00:00

Kernel: Convert String::format() => String::formatted()

This commit is contained in:
Andreas Kling 2021-04-21 23:06:28 +02:00
parent 0058a1173e
commit f4eff7df8f
4 changed files with 7 additions and 7 deletions

View file

@ -53,11 +53,11 @@ public:
String to_string() const
{
return String::format(
"%s:%d -> %s:%d",
m_local_address.to_string().characters(),
return String::formatted(
"{}:{} -> {}:{}",
m_local_address,
m_local_port,
m_peer_address.to_string().characters(),
m_peer_address,
m_peer_port);
}