Skip to content

Commit

Permalink
Fix test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
wangxf123456 committed Apr 4, 2023
1 parent 1b45f97 commit 2e6a545
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 @@ -122,7 +122,7 @@ struct type_caster<std::function<Return(Args...)>> {
}

value = type_caster_std_function_specializations::func_wrapper<Return, Args...>(
type_caster_std_function_specializations::func_handle(std::move(func)));
type_caster_std_function_specializations::func_handle(std::move(func)), fpp.rvpp);
return true;
}

Expand Down

0 comments on commit 2e6a545

Please sign in to comment.