diff options
author | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2007-06-01 17:29:27 +0000 |
---|---|---|
committer | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2007-06-01 17:29:27 +0000 |
commit | b6b19a9a38dcacf82416c4593eec94c86970644a (patch) | |
tree | 9ce89d883a6c3783bd8feca38f10700f486c36ec /strciphr.h | |
parent | a689a92a5664487e607701539745d3e91ca5f846 (diff) | |
download | cryptopp-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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |