From 375d0210dcb2070a12d916523f4a1dafff28360c Mon Sep 17 00:00:00 2001 From: Amlal EL Mahrouss Date: Tue, 2 Jul 2024 22:00:35 +0200 Subject: MHR-36: Change namespace name, got out of the codename stage. Signed-off-by: Amlal EL Mahrouss --- Kernel/CRT/__mpcc_exception.hxx | 4 ++-- Kernel/CRT/__mpcc_malloc.hxx | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'Kernel/CRT') diff --git a/Kernel/CRT/__mpcc_exception.hxx b/Kernel/CRT/__mpcc_exception.hxx index 4e525353..846a1cde 100644 --- a/Kernel/CRT/__mpcc_exception.hxx +++ b/Kernel/CRT/__mpcc_exception.hxx @@ -32,14 +32,14 @@ namespace std inline void __throw_domain_error(const char* error) { - NewOS::kcout << "MPCC C++: Domain error: " << error << "\r"; + Kernel::kcout << "MPCC C++: Domain error: " << error << "\r"; __throw_general(); CANT_REACH(); // prevent from continuing. } inline void __throw_bad_array_new_length(void) { - NewOS::kcout << "MPCC C++: Bad array length.\r"; + Kernel::kcout << "MPCC C++: Bad array length.\r"; __throw_general(); CANT_REACH(); // prevent from continuing. } diff --git a/Kernel/CRT/__mpcc_malloc.hxx b/Kernel/CRT/__mpcc_malloc.hxx index 3d736f2a..31fb631d 100644 --- a/Kernel/CRT/__mpcc_malloc.hxx +++ b/Kernel/CRT/__mpcc_malloc.hxx @@ -13,15 +13,15 @@ namespace stdx /// @brief allocate a new class. /// @tparam KindClass the class type to allocate. template - inline NewOS::VoidPtr allocate(Args&&... args) + inline Kernel::VoidPtr allocate(Args&&... args) { - return new KindClass(NewOS::forward(args)...); + return new KindClass(Kernel::forward(args)...); } /// @brief free a class. /// @tparam KindClass the class type to allocate. template - inline NewOS::Void release(KindClass ptr) + inline Kernel::Void release(KindClass ptr) { if (!ptr) return; -- cgit v1.2.3