From ca6a93bbc51b96c276d62db9f10922cb04b16126 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Fri, 17 Jul 2015 10:38:44 -0400 Subject: Cleared virtual destructor warning by explicitly adding them --- rsa.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rsa.cpp') diff --git a/rsa.cpp b/rsa.cpp index 59449c40..795ec61d 100644 --- a/rsa.cpp +++ b/rsa.cpp @@ -97,6 +97,8 @@ class RSAPrimeSelector : public PrimeSelector { public: RSAPrimeSelector(const Integer &e) : m_e(e) {} + virtual ~RSAPrimeSelector() { } + bool IsAcceptable(const Integer &candidate) const {return RelativelyPrime(m_e, candidate-Integer::One());} Integer m_e; }; -- cgit v1.2.1