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:
parent
f1b1558c7b
commit
73e151edd0
3 changed files with 44 additions and 0 deletions
|
@ -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&);
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue