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

View file

@ -86,11 +86,11 @@ inline const LogStream& operator<<(const LogStream& stream, const char* value)
const LogStream& operator<<(const LogStream&, const String&);
const LogStream& operator<<(const LogStream&, const StringView&);
const LogStream& operator<<(const LogStream&, i32);
const LogStream& operator<<(const LogStream&, u32);
const LogStream& operator<<(const LogStream&, i64);
const LogStream& operator<<(const LogStream&, u64);
const LogStream& operator<<(const LogStream&, int);
const LogStream& operator<<(const LogStream&, unsigned);
const LogStream& operator<<(const LogStream&, long long);
const LogStream& operator<<(const LogStream&, unsigned long);
const LogStream& operator<<(const LogStream&, unsigned long long);
const LogStream& operator<<(const LogStream&, const void*);