Skip to content

Commit

Permalink
clang-tidy auto fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ralf W. Grosse-Kunstleve authored and wangxf123456 committed Mar 30, 2023
1 parent dff76b8 commit a403cd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/pybind11/functional.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ struct func_handle {
// to emulate 'move initialization capture' in C++11
struct func_wrapper_base {
func_handle hfunc;
explicit func_wrapper_base(func_handle &&hf) noexcept : hfunc(std::move(hf)) {}
explicit func_wrapper_base(func_handle &&hf) noexcept : hfunc(hf) {}
};

template <typename Return, typename... Args>
Expand Down

0 comments on commit a403cd6

Please sign in to comment.