diff options
Diffstat (limited to 'Public/Kits/System.Core/Heap.cxx')
| -rw-r--r-- | Public/Kits/System.Core/Heap.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Public/Kits/System.Core/Heap.cxx b/Public/Kits/System.Core/Heap.cxx index 56188e95..aaac37a8 100644 --- a/Public/Kits/System.Core/Heap.cxx +++ b/Public/Kits/System.Core/Heap.cxx @@ -20,7 +20,10 @@ Heap* Heap::Shared() noexcept { return heap; } -void Heap::Delete(HeapPtr me) noexcept { HcFreeProcessHeap(kInstanceObject, me); } +void Heap::Delete(HeapPtr me) noexcept { + CA_MUST_PASS(me); + HcFreeProcessHeap(kInstanceObject, me); +} SizeT Heap::Size(HeapPtr me) noexcept { CA_MUST_PASS(me); |
