| 526 | |
| 527 | template <typename T> |
| 528 | void |
| 529 | IntrusivePtr<T>::set(T *obj) |
| 530 | { |
| 531 | m_obj = obj; /* update to new object */ |
| 532 | if (nullptr != m_obj) { /* if a real object, bump the ref count */ |
| 533 | ++(m_obj->m_intrusive_pointer_reference_count); |
| 534 | } |
| 535 | } |
| 536 | |
| 537 | template <typename T> |
| 538 | void |
no outgoing calls
no test coverage detected