File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff 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 */
You can’t perform that action at this time.
0 commit comments