diff options
author | Jack Lloyd <[email protected]> | 2019-08-24 09:10:47 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2019-08-24 09:10:47 -0400 |
commit | 24959678e8e202b17ddf3a964495e92c1a39f7d3 (patch) | |
tree | 01e9388b81dff3d34e0386bf427fb88172fb7ac5 /src | |
parent | d439e329462106a61dd4168685540a0242bed40e (diff) |
Fix build
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/math/numbertheory/pow_mod.cpp | 2 | ||||
-rw-r--r-- | src/lib/math/numbertheory/pow_mod.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/math/numbertheory/pow_mod.cpp b/src/lib/math/numbertheory/pow_mod.cpp index 85beacfd1..7b38fad1d 100644 --- a/src/lib/math/numbertheory/pow_mod.cpp +++ b/src/lib/math/numbertheory/pow_mod.cpp @@ -148,6 +148,8 @@ Power_Mod::Power_Mod(const BigInt& n, Usage_Hints hints, bool disable_monty) set_modulus(n, hints, disable_monty); } +Power_Mod::~Power_Mod() { /* for ~unique_ptr */ } + /* * Power_Mod Copy Constructor */ diff --git a/src/lib/math/numbertheory/pow_mod.h b/src/lib/math/numbertheory/pow_mod.h index 032be14fe..d179d8c85 100644 --- a/src/lib/math/numbertheory/pow_mod.h +++ b/src/lib/math/numbertheory/pow_mod.h @@ -78,7 +78,7 @@ class BOTAN_PUBLIC_API(2,0) Power_Mod Usage_Hints hints = NO_HINTS, bool disable_montgomery_arith = false); Power_Mod(const Power_Mod&); - virtual ~Power_Mod() = default; + virtual ~Power_Mod(); private: mutable std::unique_ptr<Modular_Exponentiator> m_core; }; |