summaryrefslogtreecommitdiff
path: root/src/utils/mutex.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-14 17:06:02 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-14 17:06:02 +0300
commit6b5c7e7a5ed32abfc98d9acdebacc50c68a91a1d (patch)
treef1acb027394af1aec49790354df97da4665488b7 /src/utils/mutex.h
parenta7d7346b9eb3fa62a8912e31d5c00f8e05390425 (diff)
downloadmanaverse-6b5c7e7a5ed32abfc98d9acdebacc50c68a91a1d.tar.gz
manaverse-6b5c7e7a5ed32abfc98d9acdebacc50c68a91a1d.tar.bz2
manaverse-6b5c7e7a5ed32abfc98d9acdebacc50c68a91a1d.tar.xz
manaverse-6b5c7e7a5ed32abfc98d9acdebacc50c68a91a1d.zip
another fixes from cpplint.
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 5eee6761c..03ecc9fe1 100644
--- a/src/utils/mutex.h
+++ b/src/utils/mutex.h
@@ -57,7 +57,7 @@ class Mutex
class MutexLocker
{
public:
- MutexLocker(Mutex *mutex);
+ explicit MutexLocker(Mutex *mutex);
~MutexLocker();
@@ -100,4 +100,4 @@ inline MutexLocker::~MutexLocker()
mMutex->unlock();
}
-#endif // MUTEX_H
+#endif // MUTEX_H