diff --git a/panda/src/express/threadSafePointerTo.I b/panda/src/express/threadSafePointerTo.I index be16972a43..b6270a91cf 100644 --- a/panda/src/express/threadSafePointerTo.I +++ b/panda/src/express/threadSafePointerTo.I @@ -226,7 +226,7 @@ p() const { template INLINE ThreadSafeConstPointerTo &ThreadSafeConstPointerTo:: operator = (const To *ptr) { - reassign((To *)ptr); + this->reassign((To *)ptr); return *this; } @@ -238,7 +238,7 @@ operator = (const To *ptr) { template INLINE ThreadSafeConstPointerTo &ThreadSafeConstPointerTo:: operator = (const ThreadSafePointerTo ©) { - reassign((const ThreadSafePointerToBase &)copy); + this->reassign((const ThreadSafePointerToBase &)copy); return *this; } @@ -250,6 +250,6 @@ operator = (const ThreadSafePointerTo ©) { template INLINE ThreadSafeConstPointerTo &ThreadSafeConstPointerTo:: operator = (const ThreadSafeConstPointerTo ©) { - reassign((const ThreadSafePointerToBase &)copy); + this->reassign((const ThreadSafePointerToBase &)copy); return *this; }