diff options
Diffstat (limited to 'src/lib/utils')
-rw-r--r-- | src/lib/utils/http_util/http_util.h | 2 | ||||
-rw-r--r-- | src/lib/utils/mutex.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/utils/http_util/http_util.h b/src/lib/utils/http_util/http_util.h index 528a4fae8..ea6122c07 100644 --- a/src/lib/utils/http_util/http_util.h +++ b/src/lib/utils/http_util/http_util.h @@ -19,7 +19,7 @@ namespace Botan { namespace HTTP { -class Response +class Response final { public: Response() : m_status_code(0), m_status_message("Uninitialized") {} diff --git a/src/lib/utils/mutex.h b/src/lib/utils/mutex.h index 46a652bba..6e24815bb 100644 --- a/src/lib/utils/mutex.h +++ b/src/lib/utils/mutex.h @@ -27,7 +27,7 @@ typedef std::mutex mutex_type; namespace Botan { template<typename Mutex> -class lock_guard +class lock_guard final { public: explicit lock_guard(Mutex& m) : m_mutex(m) @@ -41,7 +41,7 @@ class lock_guard Mutex& m_mutex; }; -class noop_mutex +class noop_mutex final { public: void lock() {} |