aboutsummaryrefslogtreecommitdiff
path: root/common/mutex.h
diff options
context:
space:
mode:
authorJohannes Schickel2010-10-15 18:30:29 +0000
committerJohannes Schickel2010-10-15 18:30:29 +0000
commitcf8b58998417b6735b8e69b9cd4673a3c3204f34 (patch)
tree6038b293458c394decea707eed009d339b4bcb67 /common/mutex.h
parent08afc68df0dd237ed27895135af51d66d76ef994 (diff)
downloadscummvm-rg350-cf8b58998417b6735b8e69b9cd4673a3c3204f34.tar.gz
scummvm-rg350-cf8b58998417b6735b8e69b9cd4673a3c3204f34.tar.bz2
scummvm-rg350-cf8b58998417b6735b8e69b9cd4673a3c3204f34.zip
COMMON: Made some constructors explicit, where we wouldn't really like implicit conversion.
svn-id: r53508
Diffstat (limited to 'common/mutex.h')
-rw-r--r--common/mutex.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/mutex.h b/common/mutex.h
index ba5c45c30e..3addaa6b18 100644
--- a/common/mutex.h
+++ b/common/mutex.h
@@ -49,8 +49,8 @@ class StackLock {
void lock();
void unlock();
public:
- StackLock(MutexRef mutex, const char *mutexName = NULL);
- StackLock(const Mutex &mutex, const char *mutexName = NULL);
+ explicit StackLock(MutexRef mutex, const char *mutexName = NULL);
+ explicit StackLock(const Mutex &mutex, const char *mutexName = NULL);
~StackLock();
};