From 0bd3574440bbb108c36671f540a799655d0e3534 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 30 Sep 2024 02:39:10 +0000 Subject: [PATCH] style: pre-commit fixes --- include/pybind11/pybind11.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/pybind11/pybind11.h b/include/pybind11/pybind11.h index 8a652ca3f..881c9863d 100644 --- a/include/pybind11/pybind11.h +++ b/include/pybind11/pybind11.h @@ -125,8 +125,9 @@ public: typename = detail::enable_if_t::value>> // NOLINTNEXTLINE(google-explicit-constructor) cpp_function(Func &&f, Extra &&...extra) { - initialize( - std::forward(f), (detail::function_signature_t *) nullptr, std::forward(extra)...); + initialize(std::forward(f), + (detail::function_signature_t *) nullptr, + std::forward(extra)...); } /// Construct a cpp_function from a class method (non-const, no ref-qualifier)