diff options
author | Martin Storsjö <martin@martin.st> | 2021-02-26 09:58:50 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2021-03-02 20:34:22 +0200 |
commit | 4adb4bca05750a1c85dd931a72a6fece030fa01e (patch) | |
tree | 43dfe3e71414e9475543a12d8e81429397ce2487 /libcxx/src/filesystem/operations.cpp | |
parent | bf4dbc49843ca24e90e37f127ceef988286cd1c6 (diff) | |
download | llvm-4adb4bca05750a1c85dd931a72a6fece030fa01e.zip llvm-4adb4bca05750a1c85dd931a72a6fece030fa01e.tar.gz llvm-4adb4bca05750a1c85dd931a72a6fece030fa01e.tar.bz2 |
[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
Diffstat (limited to 'libcxx/src/filesystem/operations.cpp')
0 files changed, 0 insertions, 0 deletions