From 6a0559351257bbf328b37e4b14d24f772878d45d Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Mon, 4 Aug 2025 08:34:08 +0100 Subject: feat: wrap `Device` object under the Kernel namespace. why: - To avoid linker and mangling issues. Signed-off-by: Amlal El Mahrouss --- dev/boot/BootKit/Device.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dev/boot/BootKit') diff --git a/dev/boot/BootKit/Device.h b/dev/boot/BootKit/Device.h index 6ae8cd6b..9a80e3c9 100644 --- a/dev/boot/BootKit/Device.h +++ b/dev/boot/BootKit/Device.h @@ -9,8 +9,7 @@ #include #include -using namespace Kernel; - +namespace Kernel { /// @brief Device type. class Device { public: @@ -33,3 +32,4 @@ class Device { typedef Device BootDevice; typedef Device NetworkDevice; typedef Device DiskDevice; +} // namespace Kernel \ No newline at end of file -- cgit v1.2.3