summaryrefslogtreecommitdiff
path: root/strciphr.h
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2007-06-01 17:29:27 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2007-06-01 17:29:27 +0000
commitb6b19a9a38dcacf82416c4593eec94c86970644a (patch)
tree9ce89d883a6c3783bd8feca38f10700f486c36ec /strciphr.h
parenta689a92a5664487e607701539745d3e91ca5f846 (diff)
downloadcryptopp-b6b19a9a38dcacf82416c4593eec94c86970644a.tar.gz
add missing virtual destructors
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@377 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'strciphr.h')
-rw-r--r--strciphr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/strciphr.h b/strciphr.h
index e3216a8..6a5cc97 100644
--- a/strciphr.h
+++ b/strciphr.h
@@ -64,6 +64,7 @@ enum KeystreamOperation {
struct CRYPTOPP_DLL CRYPTOPP_NO_VTABLE AdditiveCipherAbstractPolicy
{
+ virtual ~AdditiveCipherAbstractPolicy() {}
virtual unsigned int GetAlignment() const {return 1;}
virtual unsigned int GetBytesPerIteration() const =0;
virtual unsigned int GetOptimalBlockSize() const {return GetBytesPerIteration();}
@@ -160,6 +161,7 @@ protected:
class CRYPTOPP_DLL CRYPTOPP_NO_VTABLE CFB_CipherAbstractPolicy
{
public:
+ virtual ~CFB_CipherAbstractPolicy() {}
virtual unsigned int GetAlignment() const =0;
virtual unsigned int GetBytesPerIteration() const =0;
virtual byte * GetRegisterBegin() =0;