summaryrefslogtreecommitdiff
path: root/nbtheory.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2019-10-05 20:55:15 -0400
committerJeffrey Walton <noloader@gmail.com>2019-10-05 20:55:15 -0400
commit1da81ae4545d3966e9faa38de2cefff145ac0fc4 (patch)
treea5aa22ddbb64ef2c4ca3d58ca91bbfefe986db9d /nbtheory.h
parenta55cfcbf8ba998a6ecb758373ead753bb0ca7f1e (diff)
downloadcryptopp-git-1da81ae4545d3966e9faa38de2cefff145ac0fc4.tar.gz
Clear virtual dtor warning under Clang
Diffstat (limited to 'nbtheory.h')
-rw-r--r--nbtheory.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/nbtheory.h b/nbtheory.h
index 76b93661..f100e0f9 100644
--- a/nbtheory.h
+++ b/nbtheory.h
@@ -113,6 +113,7 @@ CRYPTOPP_DLL bool CRYPTOPP_API VerifyPrime(RandomNumberGenerator &rng, const Int
class CRYPTOPP_DLL PrimeSelector
{
public:
+ virtual ~PrimeSelector() {}
const PrimeSelector *GetSelectorPointer() const {return this;}
virtual bool IsAcceptable(const Integer &candidate) const =0;
};