We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ddac739 commit 07e539eCopy full SHA for 07e539e
include/pybind11/functional.h
@@ -42,7 +42,7 @@ struct func_handle {
42
// to emulate 'move initialization capture' in C++11
43
struct func_wrapper_base {
44
func_handle hfunc;
45
- explicit func_wrapper_base(func_handle &&hf) noexcept : hfunc(std::move(hf)) {}
+ explicit func_wrapper_base(func_handle &&hf) noexcept : hfunc(hf) {}
46
};
47
48
template <typename Return, typename... Args>
0 commit comments