diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-08-04 08:34:08 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-08-04 08:34:08 +0100 |
| commit | 6a0559351257bbf328b37e4b14d24f772878d45d (patch) | |
| tree | 92d36c26d6fcc1e17cffdddfe88ec10edf5ac582 /dev/boot | |
| parent | 34758487e7630244dcec71ebf3995675ac2d1c27 (diff) | |
feat: wrap `Device` object under the Kernel namespace.
why:
- To avoid linker and mangling issues.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/boot')
| -rw-r--r-- | dev/boot/BootKit/Device.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 <modules/AHCI/AHCI.h> #include <modules/ATA/ATA.h> -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 |
