From 27482d71e00dcf106735ef824ded70cf25c6150f Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Fri, 22 Sep 2017 11:38:42 -0400 Subject: 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. --- src/lib/math/bigint/bigint.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/math/bigint') 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") {} }; /** -- cgit v1.2.3