diff options
author | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2003-05-16 00:53:53 +0000 |
---|---|---|
committer | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2003-05-16 00:53:53 +0000 |
commit | ae515e0b4c86dd3309f8897f9bd4e7fedcd4588f (patch) | |
tree | b993d0d14070142a6cb22133ae181bfd2f9db4cc /seckey.h | |
parent | 36fa3fc2b13356f20ed58c37cdeb68c830c59829 (diff) | |
download | cryptopp-ae515e0b4c86dd3309f8897f9bd4e7fedcd4588f.tar.gz |
add CRYPTOPP_NO_VTABLE
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@69 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'seckey.h')
-rw-r--r-- | seckey.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -139,7 +139,7 @@ static inline void CheckedSetKey(T *obj, CipherDir dir, const byte *key, unsigne //! . template <class BASE, class INFO = BASE> -class SimpleKeyingInterfaceImpl : public BASE +class CRYPTOPP_NO_VTABLE SimpleKeyingInterfaceImpl : public BASE { public: unsigned int MinKeyLength() const {return INFO::MIN_KEYLENGTH;} @@ -153,7 +153,7 @@ protected: }; template <class INFO, class INTERFACE = BlockCipher> -class BlockCipherBaseTemplate : public AlgorithmImpl<SimpleKeyingInterfaceImpl<TwoBases<INFO, INTERFACE> > > +class CRYPTOPP_NO_VTABLE BlockCipherBaseTemplate : public AlgorithmImpl<SimpleKeyingInterfaceImpl<TwoBases<INFO, INTERFACE> > > { public: unsigned int BlockSize() const {return BLOCKSIZE;} |