mirror of
https://github.com/RGBCube/serenity
synced 2025-05-18 18:35:06 +00:00
LibJS: Simplify LogStream::operator<<(JS::Value) and move to .cpp file
This commit is contained in:
parent
cbe0053a97
commit
d52130836e
2 changed files with 6 additions and 12 deletions
|
@ -53,4 +53,9 @@ String Value::to_string() const
|
|||
ASSERT_NOT_REACHED();
|
||||
}
|
||||
|
||||
const LogStream& operator<<(const LogStream& stream, const Value& value)
|
||||
{
|
||||
return stream << value.to_string();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue