mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:17:44 +00:00
LibCore: Convert String::format() => String::formatted()
This commit is contained in:
parent
3a891abc37
commit
f4a15c8d42
2 changed files with 3 additions and 3 deletions
|
@ -74,7 +74,7 @@ public:
|
|||
{
|
||||
switch (m_type) {
|
||||
case Type::IPv4:
|
||||
return String::format("%s:%d", m_ipv4_address.to_string().characters(), m_port);
|
||||
return String::formatted("{}:{}", m_ipv4_address, m_port);
|
||||
case Type::Local:
|
||||
return m_local_address;
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue