From 76fbf43b8600a0f1413c81344fc60a9345329613 Mon Sep 17 00:00:00 2001 From: Pixel Date: Thu, 8 Nov 2001 21:10:38 +0000 Subject: Bleh --- include/Exceptions.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/Exceptions.h b/include/Exceptions.h index f04970c..8c37342 100644 --- a/include/Exceptions.h +++ b/include/Exceptions.h @@ -51,7 +51,7 @@ class Base { void * malloc(ssize_t s) const { return xmalloc(s); } - void * realloc(void * p, size_t s) { + void * realloc(void * p, size_t s) const { return xrealloc(p, s); } void * operator new(size_t s) { @@ -63,10 +63,10 @@ class Base { void operator delete(void * p) { xfree(p); } - void free(void * p) const { + void free(void *& p) const { xfree(p); } - void free(char * p) const { + void free(char *& p) const { xfree((void *) p); } }; -- cgit v1.2.3