diff options
author | Jeffrey Walton <noloader@gmail.com> | 2016-12-03 00:32:07 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2016-12-03 00:32:07 -0500 |
commit | 40230dd3bf5400ec3fda20cc791fb05c7a1c5b62 (patch) | |
tree | 834a1ab74d205c54d55b801d5dc1ab949ebc5bca /strciphr.h | |
parent | 6eb2792bc26aebc83924e7e7be28c0444dca506c (diff) | |
download | cryptopp-git-40230dd3bf5400ec3fda20cc791fb05c7a1c5b62.tar.gz |
Removed MAINTAIN_BACKWARDS_COMPATIBILITY_562 (Issue 70)
Diffstat (limited to 'strciphr.h')
-rw-r--r-- | strciphr.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -66,9 +66,7 @@ template <class POLICY, class BASE, class POLICY_INTERFACE = CPP_TYPENAME BASE:: class ConcretePolicyHolder : public BASE, protected POLICY
{
public:
-#ifndef CRYPTOPP_MAINTAIN_BACKWARDS_COMPATIBILITY_562
virtual ~ConcretePolicyHolder() {}
-#endif
protected:
const POLICY_INTERFACE & GetPolicy() const {return *this;}
POLICY_INTERFACE & AccessPolicy() {return *this;}
@@ -269,6 +267,8 @@ template <class BASE = AbstractPolicyHolder<AdditiveCipherAbstractPolicy, Symmet class CRYPTOPP_NO_VTABLE AdditiveCipherTemplate : public BASE, public RandomNumberGenerator
{
public:
+ virtual ~AdditiveCipherTemplate() {}
+
//! \brief Generate random array of bytes
//! \param output the byte buffer
//! \param size the length of the buffer, in bytes
@@ -584,6 +584,8 @@ template <class BASE, class INFO = BASE> class SymmetricCipherFinal : public AlgorithmImpl<SimpleKeyingInterfaceImpl<BASE, INFO>, INFO>
{
public:
+ virtual ~SymmetricCipherFinal() {}
+
//! \brief Construct a stream cipher
SymmetricCipherFinal() {}
|