more compilation fixes for recent gcc

This commit is contained in:
rdb 2013-05-22 09:10:22 +00:00
parent b16972bd23
commit a978682ed2

View File

@ -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;
}