mirror of
https://github.com/corda/corda.git
synced 2025-03-12 15:34:58 +00:00
fix SetEvent assert
SetEvent returns nonzero on success, so the assert was backwards.
This commit is contained in:
parent
6e19f4dcca
commit
6461e0a1af
@ -96,7 +96,7 @@ class MySystem: public System {
|
|||||||
|
|
||||||
if (flags & Waiting) {
|
if (flags & Waiting) {
|
||||||
int r UNUSED = SetEvent(event);
|
int r UNUSED = SetEvent(event);
|
||||||
assert(s, r == 0);
|
assert(s, r != 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user