From a0f82d57976648c5bfcf165b2e304d2a4c8fb0c7 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Tue, 19 Mar 2024 22:50:16 +0100 Subject: Kernel:Secret: Fix String class. Improve kernel APIs. --- Public/Kits/System.Core/Heap.hxx | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) (limited to 'Public/Kits/System.Core/Heap.hxx') diff --git a/Public/Kits/System.Core/Heap.hxx b/Public/Kits/System.Core/Heap.hxx index 31e44c7e..1bfc00de 100644 --- a/Public/Kits/System.Core/Heap.hxx +++ b/Public/Kits/System.Core/Heap.hxx @@ -40,7 +40,7 @@ enum { class Heap final { private: - explicit Heap() = default; + explicit Heap(); public: ~Heap(); @@ -56,24 +56,4 @@ class Heap final { SizeT Size(HeapPtr me) noexcept; HeapPtr New(const SizeT &sz, const Int32 flags = kHeapNoFlags); }; - -class MemoryException final { - public: - explicit MemoryException() = default; - ~MemoryException() = default; - - public: - HCORE_COPY_DEFAULT(MemoryException); - - public: - const char *Name(); - const char *Reason(); - - private: - const char *mReason{ - "System.Core: Process Heap Exception: Catastrophic failure!"}; - - private: - friend Heap; -}; } // namespace System \ No newline at end of file -- cgit v1.2.3