瀏覽代碼

more compilation fixes for recent gcc

rdb 12 年之前
父節點
當前提交
a978682ed2
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      panda/src/express/threadSafePointerTo.I

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

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