Skip to content

Commit

Permalink
style: pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Dec 12, 2024
1 parent 0ed82c4 commit 2fb0067
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions include/pybind11/typing.h
Original file line number Diff line number Diff line change
Expand Up @@ -282,9 +282,7 @@ struct handle_type_name<typing::Never> {

#if defined(PYBIND11_TYPING_H_HAS_STRING_LITERAL)
template <auto StrLit,
typename std::enable_if<!std::is_integral<decltype(StrLit)>::value,
int>::type
= 0>
typename std::enable_if<!std::is_integral<decltype(StrLit)>::value, int>::type = 0>
auto constexpr const_name() {
return const_name(StrLit.name);
}
Expand Down

0 comments on commit 2fb0067

Please sign in to comment.