Skip to content

Commit 91d34a7

Browse files
style: pre-commit fixes
1 parent 41c37a3 commit 91d34a7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/pybind11/detail/type_caster_base.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,8 @@ handle smart_holder_from_shared_ptr(const std::shared_ptr<T> &src,
655655
auto *inst_raw_ptr = reinterpret_cast<instance *>(inst.ptr());
656656
inst_raw_ptr->owned = true;
657657
void *&valueptr = values_and_holders(inst_raw_ptr).begin()->value_ptr();
658-
if (valueptr) {}
658+
if (valueptr) {
659+
}
659660

660661
auto smhldr
661662
= smart_holder::from_shared_ptr(std::shared_ptr<void>(src, const_cast<void *>(st.first)));

0 commit comments

Comments
 (0)