mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-28 07:48:37 -04:00
express: Fix compile error with GCC
This commit is contained in:
parent
896346b99f
commit
0911040999
@ -518,8 +518,8 @@ template<class Element>
|
|||||||
INLINE PointerToArray<Element> Extension<PointerToArray<Element> >::
|
INLINE PointerToArray<Element> Extension<PointerToArray<Element> >::
|
||||||
__deepcopy__(PyObject *memo) const {
|
__deepcopy__(PyObject *memo) const {
|
||||||
PointerToArray<Element> copy;
|
PointerToArray<Element> copy;
|
||||||
if (!_this->is_null()) {
|
if (!this->_this->is_null()) {
|
||||||
copy.v() = _this->v();
|
copy.v() = this->_this->v();
|
||||||
}
|
}
|
||||||
return copy;
|
return copy;
|
||||||
}
|
}
|
||||||
@ -725,8 +725,8 @@ template<class Element>
|
|||||||
INLINE ConstPointerToArray<Element> Extension<ConstPointerToArray<Element> >::
|
INLINE ConstPointerToArray<Element> Extension<ConstPointerToArray<Element> >::
|
||||||
__deepcopy__(PyObject *memo) const {
|
__deepcopy__(PyObject *memo) const {
|
||||||
PointerToArray<Element> copy;
|
PointerToArray<Element> copy;
|
||||||
if (!_this->is_null()) {
|
if (!this->_this->is_null()) {
|
||||||
copy.v() = _this->v();
|
copy.v() = this->_this->v();
|
||||||
}
|
}
|
||||||
return copy;
|
return copy;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user