diff options
author | Pixel <Pixel> | 2001-11-25 23:50:14 +0000 |
---|---|---|
committer | Pixel <Pixel> | 2001-11-25 23:50:14 +0000 |
commit | 9707409e4d15eadac9b3c752c3c6877788943a58 (patch) | |
tree | 58a8ef3851967415fd21674648f02c42e8eab4cd /include/Exceptions.h | |
parent | 8b6b771ca421f4f08f58debbf5459b020cf1bef7 (diff) |
Wow, everything almost work!!! Amazing!!!
Diffstat (limited to 'include/Exceptions.h')
-rw-r--r-- | include/Exceptions.h | 10 |
1 files changed, 5 insertions, 5 deletions
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); } }; |