aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/math/bigint/bigint.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/math/bigint/bigint.h')
-rw-r--r--src/lib/math/bigint/bigint.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/math/bigint/bigint.h b/src/lib/math/bigint/bigint.h
index 2dabd43a5..e6015b7b3 100644
--- a/src/lib/math/bigint/bigint.h
+++ b/src/lib/math/bigint/bigint.h
@@ -38,8 +38,11 @@ class BOTAN_PUBLIC_API(2,0) BigInt final
/**
* DivideByZero Exception
*/
- struct BOTAN_PUBLIC_API(2,0) DivideByZero final : public Exception
- { DivideByZero() : Exception("BigInt divide by zero") {} };
+ class BOTAN_PUBLIC_API(2,0) DivideByZero final : public Exception
+ {
+ public:
+ DivideByZero() : Exception("BigInt divide by zero") {}
+ };
/**
* Create empty BigInt