Skip to content

[CountingPrivateSemaphore] Fix assert

Florian Schmaus requested to merge flow/emper:cps-assert-fix into master

As the code comment above the assert indicates, the atomic exchange operation may either return nullptr or a valid Context pointer. And this is what the assert() should assert. :)

Reported-by: Florian Fischer florian.fl.fischer@fau.de

Merge request reports