1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:18:12 +00:00

Kernel: Add formatter for VirtualAddress

This commit is contained in:
Andreas Kling 2020-12-25 12:51:11 +01:00
parent f1b1558c7b
commit 73e151edd0
3 changed files with 44 additions and 0 deletions

View file

@ -75,3 +75,10 @@ inline const LogStream& operator<<(const LogStream& stream, VirtualAddress value
{
return stream << 'V' << value.as_ptr();
}
namespace AK {
template<>
struct Formatter<VirtualAddress> : Formatter<StringView> {
void format(TypeErasedFormatParams&, FormatBuilder&, const VirtualAddress&);
};
}