summaryrefslogtreecommitdiff
path: root/ec2n.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2015-07-17 10:38:44 -0400
committerJeffrey Walton <noloader@gmail.com>2015-07-17 10:38:44 -0400
commitca6a93bbc51b96c276d62db9f10922cb04b16126 (patch)
tree36da6925545d3ab81e93d39c560cef6f2effcc40 /ec2n.h
parentb435ce07c880a3e42224071f84999f148f1d96e2 (diff)
downloadcryptopp-git-ca6a93bbc51b96c276d62db9f10922cb04b16126.tar.gz
Cleared virtual destructor warning by explicitly adding them
Diffstat (limited to 'ec2n.h')
-rw-r--r--ec2n.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ec2n.h b/ec2n.h
index ae4007cd..ed172b0e 100644
--- a/ec2n.h
+++ b/ec2n.h
@@ -100,6 +100,8 @@ public:
Element BERDecodeElement(BufferedTransformation &bt) const {return m_ec.BERDecodePoint(bt);}
void DEREncodeElement(BufferedTransformation &bt, const Element &v) const {m_ec.DEREncodePoint(bt, v, false);}
+ virtual ~EcPrecomputation() { }
+
// non-inherited
void SetCurve(const EC2N &ec) {m_ec = ec;}
const EC2N & GetCurve() const {return m_ec;}