Merge pull request #766 from PraveenSinghRao/lockfix

move debug variable under ifndef NDEBUG
main
Siying Dong 9 years ago
commit d662b8dab5
  1. 7
      port/win/port_win.h

@ -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…
Cancel
Save