mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 18:03:56 -04:00
more compilation fixes for recent gcc
This commit is contained in:
parent
b16972bd23
commit
a978682ed2
@ -226,7 +226,7 @@ p() const {
|
|||||||
template<class T>
|
template<class T>
|
||||||
INLINE ThreadSafeConstPointerTo<T> &ThreadSafeConstPointerTo<T>::
|
INLINE ThreadSafeConstPointerTo<T> &ThreadSafeConstPointerTo<T>::
|
||||||
operator = (const To *ptr) {
|
operator = (const To *ptr) {
|
||||||
reassign((To *)ptr);
|
this->reassign((To *)ptr);
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -238,7 +238,7 @@ operator = (const To *ptr) {
|
|||||||
template<class T>
|
template<class T>
|
||||||
INLINE ThreadSafeConstPointerTo<T> &ThreadSafeConstPointerTo<T>::
|
INLINE ThreadSafeConstPointerTo<T> &ThreadSafeConstPointerTo<T>::
|
||||||
operator = (const ThreadSafePointerTo<T> ©) {
|
operator = (const ThreadSafePointerTo<T> ©) {
|
||||||
reassign((const ThreadSafePointerToBase<T> &)copy);
|
this->reassign((const ThreadSafePointerToBase<T> &)copy);
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -250,6 +250,6 @@ operator = (const ThreadSafePointerTo<T> ©) {
|
|||||||
template<class T>
|
template<class T>
|
||||||
INLINE ThreadSafeConstPointerTo<T> &ThreadSafeConstPointerTo<T>::
|
INLINE ThreadSafeConstPointerTo<T> &ThreadSafeConstPointerTo<T>::
|
||||||
operator = (const ThreadSafeConstPointerTo<T> ©) {
|
operator = (const ThreadSafeConstPointerTo<T> ©) {
|
||||||
reassign((const ThreadSafePointerToBase<T> &)copy);
|
this->reassign((const ThreadSafePointerToBase<T> &)copy);
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user