summaryrefslogtreecommitdiff
path: root/seckey.h
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-05-16 00:53:53 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-05-16 00:53:53 +0000
commitae515e0b4c86dd3309f8897f9bd4e7fedcd4588f (patch)
treeb993d0d14070142a6cb22133ae181bfd2f9db4cc /seckey.h
parent36fa3fc2b13356f20ed58c37cdeb68c830c59829 (diff)
downloadcryptopp-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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/seckey.h b/seckey.h
index 36ecd36..0b17345 100644
--- a/seckey.h
+++ b/seckey.h
@@ -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;}