From 24959678e8e202b17ddf3a964495e92c1a39f7d3 Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Sat, 24 Aug 2019 09:10:47 -0400 Subject: Fix build --- src/lib/math/numbertheory/pow_mod.cpp | 2 ++ src/lib/math/numbertheory/pow_mod.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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 m_core; }; -- cgit v1.2.3