mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-04 08:17:40 +00:00
COMMON: Made some constructors explicit, where we wouldn't really like implicit conversion.
svn-id: r53508
This commit is contained in:
parent
08afc68df0
commit
cf8b589984
@ -66,7 +66,7 @@ public:
|
||||
* Constructor for a memory pool with the given chunk size.
|
||||
* @param chunkSize the chunk size of this memory pool
|
||||
*/
|
||||
MemoryPool(size_t chunkSize);
|
||||
explicit MemoryPool(size_t chunkSize);
|
||||
~MemoryPool();
|
||||
|
||||
/**
|
||||
|
@ -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();
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user