File tree 1 file changed +5
-4
lines changed
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> &
70
70
}
71
71
72
72
// 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" ;
75
75
return name;
76
76
}
77
77
@@ -677,8 +677,9 @@ class cpp_function : public function {
677
677
using namespace detail ;
678
678
679
679
/* 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;
682
683
683
684
/* Need to know how many arguments + keyword arguments there are to pick the right
684
685
overload */
You can’t perform that action at this time.
0 commit comments