File tree 2 files changed +5
-7
lines changed
2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -314,8 +314,8 @@ inline internals **&get_internals_pp() {
314
314
return internals_pp;
315
315
}
316
316
317
- std::forward_list<ExceptionTranslator>& get_exception_translators ();
318
- std::forward_list<ExceptionTranslator>& get_local_exception_translators ();
317
+ std::forward_list<ExceptionTranslator> & get_exception_translators ();
318
+ std::forward_list<ExceptionTranslator> & get_local_exception_translators ();
319
319
320
320
// Apply all the extensions translators from a list
321
321
// Return true if one of the translators completed without raising an exception
@@ -521,7 +521,7 @@ PYBIND11_NOINLINE internals &get_internals() {
521
521
return **internals_pp;
522
522
}
523
523
524
- inline std::forward_list<ExceptionTranslator>& get_exception_translators () {
524
+ inline std::forward_list<ExceptionTranslator> & get_exception_translators () {
525
525
return get_internals ().registered_exception_translators ;
526
526
}
527
527
@@ -581,7 +581,7 @@ inline local_internals &get_local_internals() {
581
581
return *locals;
582
582
}
583
583
584
- inline std::forward_list<ExceptionTranslator>& get_local_exception_translators () {
584
+ inline std::forward_list<ExceptionTranslator> & get_local_exception_translators () {
585
585
return get_local_internals ().registered_exception_translators ;
586
586
}
587
587
Original file line number Diff line number Diff line change @@ -2523,9 +2523,7 @@ class exception : public object {
2523
2523
}
2524
2524
2525
2525
// Sets the current python exception to this exception object with the given message
2526
- void operator ()(const char *message) {
2527
- detail::raise_err (m_ptr, message);
2528
- }
2526
+ void operator ()(const char *message) { detail::raise_err (m_ptr, message); }
2529
2527
};
2530
2528
2531
2529
PYBIND11_NAMESPACE_BEGIN (detail)
You can’t perform that action at this time.
0 commit comments