mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
oops
This commit is contained in:
parent
d171e43af0
commit
eb6aa8c0d8
@ -453,20 +453,11 @@ operator -> () const {
|
|||||||
// correct.
|
// correct.
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef CPPPARSER
|
|
||||||
template<class T>
|
template<class T>
|
||||||
INLINE TYPENAME ConstPointerTo<T>::
|
INLINE ConstPointerTo<T>::
|
||||||
operator const TYPENAME PointerToBase<T>::To *() const {
|
operator const TYPENAME PointerToBase<T>::To *() const {
|
||||||
return _ptr;
|
return _ptr;
|
||||||
}
|
}
|
||||||
#else
|
|
||||||
// work around lame interrogate parser bugs
|
|
||||||
template<class T>
|
|
||||||
INLINE ConstPointerTo<T>::
|
|
||||||
operator const PointerToBase<T>::To *() const {
|
|
||||||
return _ptr;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
// Function: ConstPointerTo::p
|
// Function: ConstPointerTo::p
|
||||||
|
Loading…
x
Reference in New Issue
Block a user