From e1893c22ffee80728849c09233b49914afbf365b Mon Sep 17 00:00:00 2001 From: weidai Date: Fri, 31 Oct 2003 02:39:01 +0000 Subject: [PATCH] add missing overrides for new [] and delete [] --- dll.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/dll.cpp b/dll.cpp index 24edf140..ae67c129 100644 --- a/dll.cpp +++ b/dll.cpp @@ -111,4 +111,14 @@ void CRYPTOPP_CDECL operator delete (void * p) s_pDelete(p); } +void * CRYPTOPP_CDECL operator new [] (size_t size) +{ + return operator new (size); +} + +void CRYPTOPP_CDECL operator delete [] (void * p) +{ + operator delete (p); +} + #endif // #ifdef CRYPTOPP_EXPORTS