add missing overrides for new [] and delete []

pull/2/head
weidai 2003-10-31 02:39:01 +00:00
parent 9a4304c42d
commit e1893c22ff
1 changed files with 10 additions and 0 deletions

10
dll.cpp
View File

@ -111,4 +111,14 @@ void CRYPTOPP_CDECL operator delete (void * p)
s_pDelete(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 #endif // #ifdef CRYPTOPP_EXPORTS