Ver Fonte

fix for newer gcc versions

rdb há 12 anos atrás
pai
commit
4a8970a87d
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      panda/src/express/threadSafePointerTo.I

+ 2 - 2
panda/src/express/threadSafePointerTo.I

@@ -104,7 +104,7 @@ p() const {
 template<class T>
 INLINE ThreadSafePointerTo<T> &ThreadSafePointerTo<T>::
 operator = (To *ptr) {
-  reassign(ptr);
+  this->reassign(ptr);
   return *this;
 }
 
@@ -116,7 +116,7 @@ operator = (To *ptr) {
 template<class T>
 INLINE ThreadSafePointerTo<T> &ThreadSafePointerTo<T>::
 operator = (const ThreadSafePointerTo<T> &copy) {
-  reassign((const ThreadSafePointerToBase<T> &)copy);
+  this->reassign((const ThreadSafePointerToBase<T> &)copy);
   return *this;
 }