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 /luc.h | |
parent | b435ce07c880a3e42224071f84999f148f1d96e2 (diff) | |
download | cryptopp-git-ca6a93bbc51b96c276d62db9f10922cb04b16126.tar.gz |
Cleared virtual destructor warning by explicitly adding them
Diffstat (limited to 'luc.h')
-rw-r--r-- | luc.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -119,6 +119,8 @@ public: Element BERDecodeElement(BufferedTransformation &bt) const {return Integer(bt);} void DEREncodeElement(BufferedTransformation &bt, const Element &v) const {v.DEREncode(bt);} + virtual ~DL_GroupPrecomputation_LUC() { } + // non-inherited void SetModulus(const Integer &v) {m_p = v;} const Integer & GetModulus() const {return m_p;} @@ -142,6 +144,8 @@ public: Integer CascadeExponentiate(const DL_GroupPrecomputation<Element> &group, const Integer &exponent, const DL_FixedBasePrecomputation<Integer> &pc2, const Integer &exponent2) const {throw NotImplemented("DL_BasePrecomputation_LUC: CascadeExponentiate not implemented");} // shouldn't be called + virtual ~DL_BasePrecomputation_LUC() { } + private: Integer m_g; }; @@ -158,6 +162,8 @@ public: Element CascadeExponentiate(const Element &element1, const Integer &exponent1, const Element &element2, const Integer &exponent2) const {throw NotImplemented("LUC_GroupParameters: MultiplyElements can not be implemented");} + virtual ~DL_GroupParameters_LUC() { } + // NameValuePairs interface bool GetVoidValue(const char *name, const std::type_info &valueType, void *pValue) const { |