move debug variable under ifndef
This commit is contained in:
parent
a1d37602a0
commit
91c041e578
@ -114,8 +114,11 @@ class CondVar;
|
||||
class Mutex {
|
||||
public:
|
||||
|
||||
/* implicit */ Mutex(bool adaptive = false) : locked_(false) {
|
||||
}
|
||||
/* implicit */ Mutex(bool adaptive = false)
|
||||
#ifndef NDEBUG
|
||||
: locked_(false)
|
||||
#endif
|
||||
{ }
|
||||
|
||||
~Mutex();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user