mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:57:44 +00:00
LibGUI: Use String::formatted() and String::number() more
This commit is contained in:
parent
f181ddb56a
commit
7bb18215cb
15 changed files with 48 additions and 24 deletions
|
@ -31,7 +31,7 @@ namespace Gfx {
|
|||
|
||||
String Triangle::to_string() const
|
||||
{
|
||||
return String::format("(%s,%s,%s)", m_a.to_string().characters(), m_b.to_string().characters(), m_c.to_string().characters());
|
||||
return String::format("({},{},{})", m_a, m_b, m_c);
|
||||
}
|
||||
|
||||
const LogStream& operator<<(const LogStream& stream, const Triangle& value)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue