From 9707409e4d15eadac9b3c752c3c6877788943a58 Mon Sep 17 00:00:00 2001 From: Pixel Date: Sun, 25 Nov 2001 23:50:14 +0000 Subject: Wow, everything almost work!!! Amazing!!! --- include/Exceptions.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'include/Exceptions.h') diff --git a/include/Exceptions.h b/include/Exceptions.h index 052002e..090ace9 100644 --- a/include/Exceptions.h +++ b/include/Exceptions.h @@ -45,13 +45,13 @@ class String; class Base { public: - char * strdup(const char * s) const { + static char * strdup(const char * s) { return xstrdup(s); } - void * malloc(ssize_t s) const { + static void * malloc(ssize_t s) { return xmalloc(s); } - void * realloc(void * p, size_t s) const { + static void * realloc(void * p, size_t s) { 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 { + static void free(void *& p) { xfree(p); } - void free(char *& p) const { + static void free(char *& p) { xfree((void *) p); } }; -- cgit v1.2.3