From 6243c46d6386c2f84597601acccc25a77de4afc7 Mon Sep 17 00:00:00 2001 From: wjf-hs Date: Wed, 3 Jul 2024 17:42:35 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B4=AF=E4=BA=86=EF=BC=8C=E6=98=8E=E5=A4=A9?= =?UTF-8?q?=E5=86=8D=E5=86=99=E5=90=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/heap.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/heap.c b/src/heap.c index 59899c2..d5e45af 100644 --- a/src/heap.c +++ b/src/heap.c @@ -25,12 +25,13 @@ bool heap_peek(struct _heap* self, void* obj) bool heap_push(struct _heap* self, void* obj) { - + assert(self != NULL); + } bool heap_pop(struct _heap* self, void* obj) { - + assert(self != NULL); } void heap_setmin(struct _heap* self, bool min_flag)