diff options
| author | Amlal EL Mahrouss <amlalelmahrouss@icloud.com> | 2024-07-02 22:00:35 +0200 |
|---|---|---|
| committer | Amlal EL Mahrouss <amlalelmahrouss@icloud.com> | 2024-07-02 22:00:49 +0200 |
| commit | 375d0210dcb2070a12d916523f4a1dafff28360c (patch) | |
| tree | d0c217f529b8069ea659778c2ee9ca20aeba33a4 /Kernel/CRT | |
| parent | f1d3744829a661d1600c2f3bbdbdf679ee0bd0e1 (diff) | |
MHR-36: Change namespace name, got out of the codename stage.
Signed-off-by: Amlal EL Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Kernel/CRT')
| -rw-r--r-- | Kernel/CRT/__mpcc_exception.hxx | 4 | ||||
| -rw-r--r-- | Kernel/CRT/__mpcc_malloc.hxx | 6 |
2 files changed, 5 insertions, 5 deletions
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 <typename KindClass, typename... Args> - 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 <typename KindClass> - inline NewOS::Void release(KindClass ptr) + inline Kernel::Void release(KindClass ptr) { if (!ptr) return; |
