Skip to content

Commit d9ae582

Browse files
pre-commit-ci[bot]EthanSteinberg
authored andcommitted
style: pre-commit fixes
1 parent 3f428f6 commit d9ae582

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

include/pybind11/pybind11.h

+5-4
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ inline bool apply_exception_translators(std::forward_list<ExceptionTranslator> &
7070
}
7171

7272
// Need to use a wrapper function to ensure 1 address
73-
inline const char* function_capsule_name() {
74-
static const char* name = "pybind11_function_capsule";
73+
inline const char *function_capsule_name() {
74+
static const char *name = "pybind11_function_capsule";
7575
return name;
7676
}
7777

@@ -677,8 +677,9 @@ class cpp_function : public function {
677677
using namespace detail;
678678

679679
/* Iterator over the list of potentially admissible overloads */
680-
const function_record *overloads = (function_record *) PyCapsule_GetPointer(self, function_capsule_name()),
681-
*it = overloads;
680+
const function_record *overloads
681+
= (function_record *) PyCapsule_GetPointer(self, function_capsule_name()),
682+
*it = overloads;
682683

683684
/* Need to know how many arguments + keyword arguments there are to pick the right
684685
overload */

0 commit comments

Comments
 (0)