From a3f0af934e387ba259919f0b72b42120eef3bc5c Mon Sep 17 00:00:00 2001 From: weidai Date: Fri, 6 Dec 2002 22:02:46 +0000 Subject: add script-driven testing git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@24 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- secblock.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'secblock.h') diff --git a/secblock.h b/secblock.h index 31997b6..e07c6a2 100644 --- a/secblock.h +++ b/secblock.h @@ -371,6 +371,15 @@ inline void swap(CryptoPP::SecBlock &a, CryptoPP::SecBlock &b) a.swap(b); } +#if defined(_STLPORT_VERSION) && !defined(_STLP_MEMBER_TEMPLATE_CLASSES) +template +inline CryptoPP::AllocatorWithCleanup<_Tp2>& +__stl_alloc_rebind(CryptoPP::AllocatorWithCleanup<_Tp1>& __a, const _Tp2*) +{ + return (CryptoPP::AllocatorWithCleanup<_Tp2>&)(__a); +} +#endif + NAMESPACE_END #endif -- cgit v1.2.1