fix warnings for operator new.
authorGengbin Zheng <gzheng@illinois.edu>
Sat, 10 May 2003 17:47:49 +0000 (17:47 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Sat, 10 May 2003 17:47:49 +0000 (17:47 +0000)
src/conv-perf/traceCore.h

index fdeb1603d24d84fd2c7c5e4733c5143916b116ed..0bf691b132dcc06c2fe3bc3606feaf116e59e609 100644 (file)
@@ -85,7 +85,7 @@ class TraceEntry
     void *operator new(size_t s) {void*ret=malloc(s);_MEMCHECK(ret);return ret;}
     void *operator new(size_t, void *ptr) { return ptr; }
     void operator delete(void *ptr) { free(ptr); }
-#ifdef WIN32
+#if defined(WIN32) || CMK_MULTIPLE_DELETE
     void operator delete(void *, void *) { }
 #endif