aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/base
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/base
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/base')
-rw-r--r--src/lib/base/init.h2
-rw-r--r--src/lib/base/key_spec.h2
-rw-r--r--src/lib/base/scan_name.h2
-rw-r--r--src/lib/base/symkey.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/base/init.h b/src/lib/base/init.h
index 37c053b4c..ba014d8e1 100644
--- a/src/lib/base/init.h
+++ b/src/lib/base/init.h
@@ -19,7 +19,7 @@ namespace Botan {
* case, and this class is no longer needed and kept only for backwards
* compatibility.
*/
-class BOTAN_PUBLIC_API(2,0) BOTAN_DEPRECATED("LibraryInitializer is no longer required") LibraryInitializer
+class BOTAN_PUBLIC_API(2,0) BOTAN_DEPRECATED("LibraryInitializer is no longer required") LibraryInitializer final
{
public:
explicit LibraryInitializer(const std::string& /*ignored*/ = "") { }
diff --git a/src/lib/base/key_spec.h b/src/lib/base/key_spec.h
index 0a08cf27a..6db20a9b6 100644
--- a/src/lib/base/key_spec.h
+++ b/src/lib/base/key_spec.h
@@ -15,7 +15,7 @@ namespace Botan {
/**
* Represents the length requirements on an algorithm key
*/
-class BOTAN_PUBLIC_API(2,0) Key_Length_Specification
+class BOTAN_PUBLIC_API(2,0) Key_Length_Specification final
{
public:
/**
diff --git a/src/lib/base/scan_name.h b/src/lib/base/scan_name.h
index 9bc5afde8..8aa45f50f 100644
--- a/src/lib/base/scan_name.h
+++ b/src/lib/base/scan_name.h
@@ -18,7 +18,7 @@ namespace Botan {
A class encapsulating a SCAN name (similar to JCE conventions)
http://www.users.zetnet.co.uk/hopwood/crypto/scan/
*/
-class BOTAN_PUBLIC_API(2,0) SCAN_Name
+class BOTAN_PUBLIC_API(2,0) SCAN_Name final
{
public:
/**
diff --git a/src/lib/base/symkey.h b/src/lib/base/symkey.h
index 6f933896d..a010cc466 100644
--- a/src/lib/base/symkey.h
+++ b/src/lib/base/symkey.h
@@ -16,7 +16,7 @@ namespace Botan {
/**
* Octet String
*/
-class BOTAN_PUBLIC_API(2,0) OctetString
+class BOTAN_PUBLIC_API(2,0) OctetString final
{
public:
/**