Hi there!
As my compiler warnings always take some nerve, would you like to add a little trivial line to
Mutex::unlock() ?
inline void
Mutex::unlock(LockState& state) const
{
(void)state; // <<----- this line
LeaveCriticalSection(&_mutex);
}
thanks,
Stephan