aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/math/numbertheory/pow_mod.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/math/numbertheory/pow_mod.h')
-rw-r--r--src/lib/math/numbertheory/pow_mod.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/math/numbertheory/pow_mod.h b/src/lib/math/numbertheory/pow_mod.h
index 7613c2ddf..cca99b714 100644
--- a/src/lib/math/numbertheory/pow_mod.h
+++ b/src/lib/math/numbertheory/pow_mod.h
@@ -93,9 +93,9 @@ 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();
+ virtual ~Power_Mod() {}
private:
- mutable Modular_Exponentiator* m_core;
+ mutable std::unique_ptr<Modular_Exponentiator> m_core;
};
/**