summaryrefslogtreecommitdiffhomepage
path: root/Public/Kits/System.Core/Heap.hxx
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-03-19 22:50:16 +0100
committerAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-03-19 22:50:16 +0100
commita0f82d57976648c5bfcf165b2e304d2a4c8fb0c7 (patch)
treec24cd3e850a9fc47b352ac8efa50a93b28388925 /Public/Kits/System.Core/Heap.hxx
parentde413aa50bac1342e4ac8c7a66697ea3b551c2e4 (diff)
Kernel:Secret: Fix String class.
Improve kernel APIs.
Diffstat (limited to 'Public/Kits/System.Core/Heap.hxx')
-rw-r--r--Public/Kits/System.Core/Heap.hxx22
1 files changed, 1 insertions, 21 deletions
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