mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-27 15:25:54 -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> >::
|
||||
__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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user