![]() 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 |
||
---|---|---|
.. | ||
assign.compile.fail.cpp | ||
copy.compile.fail.cpp | ||
default.pass.cpp | ||
destructor.pass.cpp | ||
notify_all.pass.cpp | ||
notify_one.pass.cpp | ||
wait.pass.cpp | ||
wait_for.pass.cpp | ||
wait_for_pred.pass.cpp | ||
wait_pred.pass.cpp | ||
wait_until.pass.cpp | ||
wait_until_pred.pass.cpp |