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:
parent
0058a1173e
commit
f4eff7df8f
4 changed files with 7 additions and 7 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue