Skip to content

Commit

Permalink
style: pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Sep 30, 2024
1 parent c8c6591 commit f26c39d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions include/pybind11/pybind11.h
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,9 @@ class cpp_function : public function {
typename = detail::enable_if_t<detail::is_lambda<Func>::value>>
// NOLINTNEXTLINE(google-explicit-constructor)
cpp_function(Func &&f, Extra &&...extra) {
initialize(
std::forward<Func>(f), (detail::function_signature_t<Func> *) nullptr, std::forward<Extra>(extra)...);
initialize(std::forward<Func>(f),
(detail::function_signature_t<Func> *) nullptr,
std::forward<Extra>(extra)...);
}

/// Construct a cpp_function from a class method (non-const, no ref-qualifier)
Expand Down

0 comments on commit f26c39d

Please sign in to comment.