| 205 | // |
| 206 | //////////////////////////////////////////////////////////////////////// |
| 207 | template <class T> inline Ptr<T>::Ptr(T *ptr /* = 0 */) : m_ptr(ptr) |
| 208 | { |
| 209 | if (m_ptr) { |
| 210 | m_ptr->refcount_inc(); |
| 211 | } |
| 212 | } |
| 213 | |
| 214 | template <class T> inline Ptr<T>::Ptr(const Ptr<T> &src) : m_ptr(src.m_ptr) |
| 215 | { |
nothing calls this directly
no test coverage detected