express: Fix compile error with GCC

This commit is contained in:
rdb 2022-12-19 16:38:19 +01:00
parent 896346b99f
commit 0911040999

View File

@ -518,8 +518,8 @@ template<class Element>
INLINE PointerToArray<Element> Extension<PointerToArray<Element> >::
__deepcopy__(PyObject *memo) const {
PointerToArray<Element> copy;
if (!_this->is_null()) {
copy.v() = _this->v();
if (!this->_this->is_null()) {
copy.v() = this->_this->v();
}
return copy;
}
@ -725,8 +725,8 @@ template<class Element>
INLINE ConstPointerToArray<Element> Extension<ConstPointerToArray<Element> >::
__deepcopy__(PyObject *memo) const {
PointerToArray<Element> copy;
if (!_this->is_null()) {
copy.v() = _this->v();
if (!this->_this->is_null()) {
copy.v() = this->_this->v();
}
return copy;
}