diff options
author | Jeffrey Walton <noloader@gmail.com> | 2015-07-17 10:38:44 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2015-07-17 10:38:44 -0400 |
commit | ca6a93bbc51b96c276d62db9f10922cb04b16126 (patch) | |
tree | 36da6925545d3ab81e93d39c560cef6f2effcc40 /modexppc.h | |
parent | b435ce07c880a3e42224071f84999f148f1d96e2 (diff) | |
download | cryptopp-git-ca6a93bbc51b96c276d62db9f10922cb04b16126.tar.gz |
Cleared virtual destructor warning by explicitly adding them
Diffstat (limited to 'modexppc.h')
-rw-r--r-- | modexppc.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -21,6 +21,8 @@ public: Element BERDecodeElement(BufferedTransformation &bt) const {return Integer(bt);} void DEREncodeElement(BufferedTransformation &bt, const Element &v) const {v.DEREncode(bt);} + virtual ~ModExpPrecomputation() { } + // non-inherited void SetModulus(const Integer &v) {m_mr.reset(new MontgomeryRepresentation(v));} const Integer & GetModulus() const {return m_mr->GetModulus();} |