Skip to content

Commit

Permalink
Add missing return for default build
Browse files Browse the repository at this point in the history
  • Loading branch information
colesbury committed Jan 15, 2025
1 parent 9f16d6b commit 72238e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/pybind11/detail/type_caster_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ inline bool try_incref(PyObject *obj) {
#else
assert(Py_REFCNT(obj) > 0);
Py_INCREF(obj);
return true;
#endif
}

Expand Down

0 comments on commit 72238e4

Please sign in to comment.