aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/math/bigint
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/bigint
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/bigint')
-rw-r--r--src/lib/math/bigint/bigint.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/math/bigint/bigint.h b/src/lib/math/bigint/bigint.h
index 0b116f3cc..9455a869b 100644
--- a/src/lib/math/bigint/bigint.h
+++ b/src/lib/math/bigint/bigint.h
@@ -22,7 +22,7 @@ class RandomNumberGenerator;
/**
* Arbitrary precision integer
*/
-class BOTAN_PUBLIC_API(2,0) BigInt
+class BOTAN_PUBLIC_API(2,0) BigInt final
{
public:
/**
@@ -38,7 +38,7 @@ class BOTAN_PUBLIC_API(2,0) BigInt
/**
* DivideByZero Exception
*/
- struct BOTAN_PUBLIC_API(2,0) DivideByZero : public Exception
+ struct BOTAN_PUBLIC_API(2,0) DivideByZero final : public Exception
{ DivideByZero() : Exception("BigInt divide by zero") {} };
/**