aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils/mutex.h
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-10-15 11:28:06 -0400
committerJack Lloyd <[email protected]>2017-10-15 11:28:06 -0400
commit96ed1bf7f001e8302bdaa42ab37555ee5c0f9edb (patch)
treec27a5e1a6875062a8b55f1a54129d84ef8ad1373 /src/lib/utils/mutex.h
parentd52dece3876df6d19681fb16cb607325aee01052 (diff)
Additional final annotations
Diffstat (limited to 'src/lib/utils/mutex.h')
-rw-r--r--src/lib/utils/mutex.h4
1 files changed, 2 insertions, 2 deletions
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() {}