diff options
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; |
