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

Kernel: Convert a bunch of String::format() => String::formatted()

This commit is contained in:
Andreas Kling 2021-01-11 22:07:01 +01:00
parent 0ae9ae48fa
commit 7c4ddecacb
14 changed files with 22 additions and 33 deletions

View file

@ -62,7 +62,7 @@ public:
return m_fsid != other.m_fsid || m_index != other.m_index;
}
String to_string() const { return String::format("%u:%u", m_fsid, m_index); }
String to_string() const { return String::formatted("{}:{}", m_fsid, m_index); }
private:
u32 m_fsid { 0 };