summaryrefslogtreecommitdiff
path: root/include/Exceptions.h
diff options
context:
space:
mode:
authorPixel <Pixel>2001-11-08 21:10:38 +0000
committerPixel <Pixel>2001-11-08 21:10:38 +0000
commit76fbf43b8600a0f1413c81344fc60a9345329613 (patch)
tree98b22d336b4e9a8b7d70f9e44b16ec409cd7c73c /include/Exceptions.h
parent1ec64cc1bb232ceafb196c067dbdf7fb5976b39b (diff)
Bleh
Diffstat (limited to 'include/Exceptions.h')
-rw-r--r--include/Exceptions.h6
1 files changed, 3 insertions, 3 deletions
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);
}
};