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 Oct 21, 2022
1 parent e400014 commit 1068a80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/pybind11/detail/internals.h
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ struct local_internals {
}
#endif // defined(WITH_THREAD) && PYBIND11_INTERNALS_VERSION >= 4
#if PYBIND11_INTERNALS_VERSION == 5
const char* function_capsule_name = strdup("pybind11_function_capsule");
const char *function_capsule_name = strdup("pybind11_function_capsule");
#endif
};

Expand All @@ -526,7 +526,7 @@ inline local_internals &get_local_internals() {
return *locals;
}

inline const char* get_function_capsule_name() {
inline const char *get_function_capsule_name() {
#if PYBIND11_INTERNALS_VERSION == 5
return get_local_internals().function_capsule_name;
#else
Expand Down

0 comments on commit 1068a80

Please sign in to comment.