| 37 | object::object(context& c): m_ref_count(0), m_context(c) { this->m_id = m_context.add_object(this); } |
| 38 | |
| 39 | void object::inc_ref() { ++m_ref_count; } |
| 40 | |
| 41 | void object::dec_ref() { SASSERT(m_ref_count > 0); if (--m_ref_count == 0) m_context.del_object(this); } |
| 42 |
no outgoing calls
no test coverage detected