mirror of
https://github.com/pybind/pybind11.git
synced 2025-02-23 08:59:43 +00:00
style: pre-commit fixes
This commit is contained in:
parent
5657ab11de
commit
2b08a25e9c
@ -1850,9 +1850,11 @@ public:
|
|||||||
static_assert(0 == detail::constexpr_sum(std::is_base_of<arg, Extra>::value...),
|
static_assert(0 == detail::constexpr_sum(std::is_base_of<arg, Extra>::value...),
|
||||||
"Argument annotations are not allowed for properties");
|
"Argument annotations are not allowed for properties");
|
||||||
static_assert(0 == detail::constexpr_sum(detail::is_call_guard<Extra>::value...),
|
static_assert(0 == detail::constexpr_sum(detail::is_call_guard<Extra>::value...),
|
||||||
"def_property family does not currently support call_guard. Use a py::cpp_function instead.");
|
"def_property family does not currently support call_guard. Use a "
|
||||||
|
"py::cpp_function instead.");
|
||||||
static_assert(0 == detail::constexpr_sum(detail::is_keep_alive<Extra>::value...),
|
static_assert(0 == detail::constexpr_sum(detail::is_keep_alive<Extra>::value...),
|
||||||
"def_property family does not currently support keep_alive. Use a py::cpp_function instead.");
|
"def_property family does not currently support keep_alive. Use a "
|
||||||
|
"py::cpp_function instead.");
|
||||||
auto rec_fget = get_function_record(fget), rec_fset = get_function_record(fset);
|
auto rec_fget = get_function_record(fget), rec_fset = get_function_record(fset);
|
||||||
auto *rec_active = rec_fget;
|
auto *rec_active = rec_fget;
|
||||||
if (rec_fget) {
|
if (rec_fget) {
|
||||||
|
Loading…
Reference in New Issue
Block a user