Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove
std::mutex()
from list-initialization (#355)
Remove the `std::mutex()` constructor call from list-initialization in `ucxx::Endpoint`. This is totally unnecessary and may cause issues with some compilers (or compiler options): ``` ... error: function "std::mutex::mutex(const std::mutex &)" (declared at line 94 of /opt/conda/envs/base/lib/gcc/x86_64-conda-linux-gnu/11.4.0/include/c++/bits/std_mutex.h) cannot be referenced -- it is a deleted function ``` Authors: - Peter Andreas Entschev (https://github.com/pentschev) Approvers: - Sebastian Berg (https://github.com/seberg) - Mads R. B. Kristensen (https://github.com/madsbk) URL: #355
- Loading branch information