aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/math/numbertheory/def_powm.h
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-09-22 11:38:42 -0400
committerJack Lloyd <[email protected]>2017-09-22 11:38:42 -0400
commit27482d71e00dcf106735ef824ded70cf25c6150f (patch)
tree60ee512ff6eed74051718920eb126c30c854e322 /src/lib/math/numbertheory/def_powm.h
parenta2e70c4eb74d016d8b3c783b4964cfc5ea2b7ddf (diff)
Apply final annotations to the library also
Done by a perl script which converted all classes to final, followed by selective reversion where it caused compilation failures.
Diffstat (limited to 'src/lib/math/numbertheory/def_powm.h')
-rw-r--r--src/lib/math/numbertheory/def_powm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/math/numbertheory/def_powm.h b/src/lib/math/numbertheory/def_powm.h
index f284739e4..826ffb49f 100644
--- a/src/lib/math/numbertheory/def_powm.h
+++ b/src/lib/math/numbertheory/def_powm.h
@@ -17,7 +17,7 @@ namespace Botan {
/**
* Fixed Window Exponentiator
*/
-class Fixed_Window_Exponentiator : public Modular_Exponentiator
+class Fixed_Window_Exponentiator final : public Modular_Exponentiator
{
public:
void set_exponent(const BigInt&) override;
@@ -39,7 +39,7 @@ class Fixed_Window_Exponentiator : public Modular_Exponentiator
/**
* Montgomery Exponentiator
*/
-class Montgomery_Exponentiator : public Modular_Exponentiator
+class Montgomery_Exponentiator final : public Modular_Exponentiator
{
public:
void set_exponent(const BigInt&) override;