Changeset 1204
- Timestamp:
- 05/07/08 18:37:24 (4 days ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Source/System/FieldContainer/Base/OSGRefCountPtr.h
r1198 r1204 91 91 template <class OtherObjectT> 92 92 RefCountPtr(TransitPtr<OtherObjectT> const &other); 93 94 explicit 95 RefCountPtr(ObjectTransitPtr &other); 93 94 template <class OtherObjectT, class OtherRefCountPolicyT> 95 RefCountPtr(RefCountPtr<OtherObjectT, 96 OtherRefCountPolicyT> const &other); 96 97 97 98 RefCountPtr(Object * const pObj ); trunk/Source/System/FieldContainer/Base/OSGRefCountPtr.inl
r1198 r1204 59 59 60 60 template <class ObjectT, 61 class RefCountPolicyT> inline62 RefCountPtr<ObjectT, RefCountPolicyT>::RefCountPtr(ObjectTransitPtr &other)63 {64 RefCountPolicy::convertTransitPtr(_pObj, other._pObj);65 }66 67 template <class ObjectT,68 61 class RefCountPolicyT> 69 62 template <class OtherObjectT > inline … … 76 69 } 77 70 71 template <class ObjectT, 72 class RefCountPolicyT > 73 template <class OtherObjectT, 74 class OtherRefCountPolicyT> inline 75 RefCountPtr<ObjectT, RefCountPolicyT>::RefCountPtr( 76 RefCountPtr<OtherObjectT, OtherRefCountPolicyT> const &other) : 77 78 _pObj(NULL) 79 { 80 ObjectT *pOther = other.get(); 81 82 RefCountPolicyT::addRef(pOther); 83 84 _pObj = pOther; 85 } 78 86 79 87 template <class ObjectT,
