summaryrefslogtreecommitdiff
path: root/Kernel/KBuffer.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-02-16 01:27:42 +0100
committerAndreas Kling <kling@serenityos.org>2020-02-16 01:27:42 +0100
commita356e4815098e5398e103aa69865bd6c88f7ad36 (patch)
tree50437c6444405f12671bce7f04a8c1b10cff70f8 /Kernel/KBuffer.h
parentd42f0f46616168bdff492f880b3ea432a49f7345 (diff)
downloadserenity-a356e4815098e5398e103aa69865bd6c88f7ad36.zip
Kernel: Move all code into the Kernel namespace
Diffstat (limited to 'Kernel/KBuffer.h')
-rw-r--r--Kernel/KBuffer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Kernel/KBuffer.h b/Kernel/KBuffer.h
index 955e44d539..91cdc09b64 100644
--- a/Kernel/KBuffer.h
+++ b/Kernel/KBuffer.h
@@ -41,6 +41,8 @@
#include <Kernel/VM/MemoryManager.h>
#include <Kernel/VM/Region.h>
+namespace Kernel {
+
class KBufferImpl : public RefCounted<KBufferImpl> {
public:
static NonnullRefPtr<KBufferImpl> create_with_size(size_t size, u8 access, const char* name)
@@ -118,3 +120,5 @@ inline const LogStream& operator<<(const LogStream& stream, const KBuffer& value
{
return stream << StringView(value.data(), value.size());
}
+
+}