Skip to content

Commit a403cd6

Browse files
rwgkwangxf123456
authored andcommitted
clang-tidy auto fix
1 parent dff76b8 commit a403cd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/pybind11/functional.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ struct func_handle {
4242
// to emulate 'move initialization capture' in C++11
4343
struct func_wrapper_base {
4444
func_handle hfunc;
45-
explicit func_wrapper_base(func_handle &&hf) noexcept : hfunc(std::move(hf)) {}
45+
explicit func_wrapper_base(func_handle &&hf) noexcept : hfunc(hf) {}
4646
};
4747

4848
template <typename Return, typename... Args>

0 commit comments

Comments
 (0)