diff options
author | Jeffrey Walton <noloader@gmail.com> | 2019-10-05 20:55:15 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2019-10-05 20:55:15 -0400 |
commit | 1da81ae4545d3966e9faa38de2cefff145ac0fc4 (patch) | |
tree | a5aa22ddbb64ef2c4ca3d58ca91bbfefe986db9d /nbtheory.h | |
parent | a55cfcbf8ba998a6ecb758373ead753bb0ca7f1e (diff) | |
download | cryptopp-git-1da81ae4545d3966e9faa38de2cefff145ac0fc4.tar.gz |
Clear virtual dtor warning under Clang
Diffstat (limited to 'nbtheory.h')
-rw-r--r-- | nbtheory.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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;
};
|