Skip to content
Snippets Groups Projects
Commit 1f461b2d authored by Florian Schmaus's avatar Florian Schmaus
Browse files

[CountingPrivateSemaphore] Fix assert


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: default avatarFlorian Fischer <florian.fl.fischer@fau.de>
parent b8e2983f
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment