Browse Source

express: Fix compile error with GCC

rdb 3 years ago
parent
commit
0911040999
1 changed files with 4 additions and 4 deletions
  1. 4 4
      panda/src/express/pointerToArray_ext.I

+ 4 - 4
panda/src/express/pointerToArray_ext.I

@@ -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()) {
-    copy.v() = _this->v();
+  if (!this->_this->is_null()) {
+    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()) {
-    copy.v() = _this->v();
+  if (!this->_this->is_null()) {
+    copy.v() = this->_this->v();
   }
   }
   return copy;
   return copy;
 }
 }