commit | 39ef0c47ab8ba116788c23f6ca99fe090293dbf0 | [log] [tgz] |
---|---|---|
author | Martin Storsjö <martin@martin.st> | Fri Feb 26 09:58:50 2021 +0200 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Mar 18 00:22:06 2021 -0700 |
tree | 821f6f00d66896544a0289ee99c0b6094e2b32c0 | |
parent | 537a937733c67309488fe65fa945fc38646e897e [diff] |
[libcxx] [test] Fix a test error with condvars with trivial destruction 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 GitOrigin-RevId: 4adb4bca05750a1c85dd931a72a6fece030fa01e