Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove
std::move
to resolve clang-tidy error:
``` /__w/pybind11/pybind11/include/pybind11/functional.h:47:67: error: passing result of std::move() as a const reference argument; no move will actually happen [performance-move-const-arg,-warnings-as-errors] 47 | explicit func_wrapper_base(func_handle &&hf) noexcept : hfunc(std::move(hf)) {} | ^~~~~~~~~~ ~ /__w/pybind11/pybind11/include/pybind11/functional.h:23:8: note: 'func_handle' is not move assignable/constructible ```
- Loading branch information