style: pre-commit fixes

This commit is contained in:
pre-commit-ci[bot] 2024-09-30 02:39:10 +00:00
parent eb2660b08b
commit 0bd3574440

View File

@ -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)