Skip to content

Commit

Permalink
Fix build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
xia-mc committed Dec 18, 2024
1 parent 708cb93 commit cbdd232
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .idea/PyFastUtil.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyfastutil/src/utils/PythonUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ static __forceinline constexpr void PyFast_XDECREF(T *object) noexcept {
if (UNLIKELY(((PyObject *) object)->ob_refcnt < 0))
return;
if (--((PyObject *) object)->ob_refcnt == 0)
_Py_Dealloc(object);
_Py_Dealloc((PyObject *) object);
}

template<typename T>
Expand Down

0 comments on commit cbdd232

Please sign in to comment.