summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2006-12-29 15:31:00 +0000
committerChris Wilson <chris+github@qwirx.com>2006-12-29 15:31:00 +0000
commit640786c33e71dd30c98068a7b82f8713f780d9f8 (patch)
tree0b8802f0cca217de647ca72b6daebdc2f4663c60
parent131a4c5b39d95fffe63d26446668bed40c29a197 (diff)
Don't redefine the built-in operators new and delete unnecessarily (refs #3)
-rw-r--r--lib/common/MemLeakFinder.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/common/MemLeakFinder.h b/lib/common/MemLeakFinder.h
index f47a38aa..6bfdc3d0 100644
--- a/lib/common/MemLeakFinder.h
+++ b/lib/common/MemLeakFinder.h
@@ -52,11 +52,6 @@ void memleakfinder_notaleak(void *ptr);
void *operator new (size_t size, const char *file, int line);
void *operator new[](size_t size, const char *file, int line);
-void *operator new (size_t size);
-void *operator new[](size_t size);
-
-void operator delete (void *ptr) throw ();
-void operator delete[](void *ptr) throw ();
// define the malloc functions now, if required
#ifdef MEMLEAKFINDER_FULL_MALLOC_MONITORING