mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-25 06:35:12 +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>>
|
typename = detail::enable_if_t<detail::is_lambda<Func>::value>>
|
||||||
// NOLINTNEXTLINE(google-explicit-constructor)
|
// NOLINTNEXTLINE(google-explicit-constructor)
|
||||||
cpp_function(Func &&f, Extra &&...extra) {
|
cpp_function(Func &&f, Extra &&...extra) {
|
||||||
initialize(
|
initialize(std::forward<Func>(f),
|
||||||
std::forward<Func>(f), (detail::function_signature_t<Func> *) nullptr, std::forward<Extra>(extra)...);
|
(detail::function_signature_t<Func> *) nullptr,
|
||||||
|
std::forward<Extra>(extra)...);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Construct a cpp_function from a class method (non-const, no ref-qualifier)
|
/// Construct a cpp_function from a class method (non-const, no ref-qualifier)
|
||||||
|
Loading…
Reference in New Issue
Block a user