mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-21 20:55:11 +00:00
style: pre-commit fixes
This commit is contained in:
parent
eb2660b08b
commit
0bd3574440
@ -125,8 +125,9 @@ public:
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user