LibJS: Simplify LogStream::operator<<(JS::Value) and move to .cpp file

This commit is contained in:
Andreas Kling 2020-03-07 21:43:10 +01:00
commit d52130836e
Notes: sideshowbarker 2024-07-19 08:51:07 +09:00
2 changed files with 6 additions and 12 deletions

View file

@ -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();
}
}