If the destructor is trivial (_LIBCPP_HAS_TRIVIAL_CONDVAR_DESTRUCTION, the constructor always is), the compiler warns about the std::condition_variable being unused. Add a cast to void to silence the warning about the object being unused. Differential Revision: https://reviews.llvm.org/D97540 |
||
|---|---|---|
| .. | ||
| thread.condition.condvar | ||
| thread.condition.condvarany | ||
| cv_status.pass.cpp | ||
| notify_all_at_thread_exit.pass.cpp | ||