1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 19:47:46 +00:00

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

This commit is contained in:
Andreas Kling 2021-04-21 21:11:16 +02:00
parent d996e43df6
commit e875d4e044
4 changed files with 5 additions and 7 deletions

View file

@ -154,7 +154,7 @@ void Rect<T>::set_size_around(const Size<T>& new_size, const Point<T>& fixed_poi
template<>
String IntRect::to_string() const
{
return String::format("[%d,%d %dx%d]", x(), y(), width(), height());
return String::formatted("[{},{} {}x{}]", x(), y(), width(), height());
}
template<>