summaryrefslogtreecommitdiff
path: root/dll.cpp
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-10-31 02:39:01 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-10-31 02:39:01 +0000
commit687d33c5056c3832e133c3789ec727dfbcce26c5 (patch)
tree3ff55e2bb257d15df9fc86314c2c9cfb0afa1ae0 /dll.cpp
parent1f11fad6014558afb0fb7fb7ec7c9ab4098e70f8 (diff)
downloadcryptopp-687d33c5056c3832e133c3789ec727dfbcce26c5.tar.gz
add missing overrides for new [] and delete []
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@139 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'dll.cpp')
-rw-r--r--dll.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/dll.cpp b/dll.cpp
index 24edf14..ae67c12 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