cond_variable: fix warning in cond.h for MSVC

This commit is contained in:
Nekotekina 2019-09-20 15:40:50 +03:00
parent e7d67f9732
commit 3121fecc8f
2 changed files with 4 additions and 2 deletions

View file

@ -29,7 +29,8 @@ protected:
return 0;
}
value += c_waiter_mask & -c_waiter_mask;
// Add waiter (c_waiter_mask)
value += 1;
return value;
});
}