From 2fb0067336d74dc7c28e4819cc5e1df3c1ce0a3f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 12 Dec 2024 17:48:46 +0000 Subject: [PATCH] style: pre-commit fixes --- include/pybind11/typing.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/pybind11/typing.h b/include/pybind11/typing.h index 6c6bd5947b..e9054c7843 100644 --- a/include/pybind11/typing.h +++ b/include/pybind11/typing.h @@ -282,9 +282,7 @@ struct handle_type_name { #if defined(PYBIND11_TYPING_H_HAS_STRING_LITERAL) template ::value, - int>::type - = 0> + typename std::enable_if::value, int>::type = 0> auto constexpr const_name() { return const_name(StrLit.name); }