summaryrefslogtreecommitdiff
path: root/Kernel/PhysicalAddress.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-03-12 17:29:37 +0100
committerAndreas Kling <kling@serenityos.org>2021-03-12 17:29:37 +0100
commitef1e5db1d063f55e57b1d7623ea7154583fc95ad (patch)
treefb92514e07f4017cb899258137c817c07da9d5c5 /Kernel/PhysicalAddress.h
parent423ed5339651a2646c64ee4fd7b3b32bb7f8c942 (diff)
downloadserenity-ef1e5db1d063f55e57b1d7623ea7154583fc95ad.zip
Everywhere: Remove klog(), dbg() and purge all LogStream usage :^)
Good-bye LogStream. Long live AK::Format!
Diffstat (limited to 'Kernel/PhysicalAddress.h')
-rw-r--r--Kernel/PhysicalAddress.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/Kernel/PhysicalAddress.h b/Kernel/PhysicalAddress.h
index f68cbffc53..9d2a280158 100644
--- a/Kernel/PhysicalAddress.h
+++ b/Kernel/PhysicalAddress.h
@@ -26,7 +26,7 @@
#pragma once
-#include <AK/LogStream.h>
+#include <AK/Format.h>
#include <AK/Types.h>
class PhysicalAddress {
@@ -61,11 +61,6 @@ private:
FlatPtr m_address { 0 };
};
-inline const LogStream& operator<<(const LogStream& stream, PhysicalAddress value)
-{
- return stream << 'P' << value.as_ptr();
-}
-
template<>
struct AK::Formatter<PhysicalAddress> : AK::Formatter<FormatString> {
void format(FormatBuilder& builder, PhysicalAddress value)