1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 05:27:43 +00:00

AK: Break LogStream::operator<< overloads into i/l/ll and u/ul/ull

This commit is contained in:
Andreas Kling 2020-02-05 19:09:29 +01:00
parent 90b1dafeff
commit be0034d2ca
2 changed files with 7 additions and 7 deletions

View file

@ -47,17 +47,17 @@ const LogStream& operator<<(const LogStream& stream, const StringView& value)
return stream;
}
const LogStream& operator<<(const LogStream& stream, i32 value)
const LogStream& operator<<(const LogStream& stream, int value)
{
return stream << String::number(value);
}
const LogStream& operator<<(const LogStream& stream, u32 value)
const LogStream& operator<<(const LogStream& stream, unsigned value)
{
return stream << String::number(value);
}
const LogStream& operator<<(const LogStream& stream, u64 value)
const LogStream& operator<<(const LogStream& stream, unsigned long long value)
{
return stream << String::number(value);
}