summaryrefslogtreecommitdiff
path: root/src/utils/mutex.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-26 12:42:21 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-26 12:42:21 +0300
commit45f77fd60f71322b288a4497dea5b583b2692613 (patch)
tree5ea3059c1125b3032fcdf6e0d7229a31b39dfc4a /src/utils/mutex.h
parentd2e744dab8c38ef56184251fe96293fa0f51fb9f (diff)
downloadplus-45f77fd60f71322b288a4497dea5b583b2692613.tar.gz
plus-45f77fd60f71322b288a4497dea5b583b2692613.tar.bz2
plus-45f77fd60f71322b288a4497dea5b583b2692613.tar.xz
plus-45f77fd60f71322b288a4497dea5b583b2692613.zip
Change destructors to virtual in all basic classes.
Also add some missing final to classes.
Diffstat (limited to 'src/utils/mutex.h')
-rw-r--r--src/utils/mutex.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/mutex.h b/src/utils/mutex.h
index 37c889e02..9bb3cfcdd 100644
--- a/src/utils/mutex.h
+++ b/src/utils/mutex.h
@@ -31,7 +31,7 @@
* A mutex provides mutual exclusion of access to certain data that is
* accessed by multiple threads.
*/
-class Mutex
+class Mutex final
{
public:
Mutex();
@@ -54,7 +54,7 @@ class Mutex
/**
* A convenience class for locking a mutex.
*/
-class MutexLocker
+class MutexLocker final
{
public:
explicit MutexLocker(Mutex *mutex);