summaryrefslogtreecommitdiff
path: root/cryptlib.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 /cryptlib.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 'cryptlib.h')
-rw-r--r--cryptlib.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cryptlib.h b/cryptlib.h
index 7b104d6..993936e 100644
--- a/cryptlib.h
+++ b/cryptlib.h
@@ -353,6 +353,8 @@ public:
class CRYPTOPP_DLL CRYPTOPP_NO_VTABLE SimpleKeyingInterface
{
public:
+ virtual ~SimpleKeyingInterface() {}
+
//! returns smallest valid key length in bytes */
virtual size_t MinKeyLength() const =0;
//! returns largest valid key length in bytes */
@@ -678,6 +680,8 @@ class CallStack;
class CRYPTOPP_NO_VTABLE Waitable
{
public:
+ virtual ~Waitable() {}
+
//! maximum number of wait objects that this object can return
virtual unsigned int GetMaxWaitObjectCount() const =0;
//! put wait objects into container