| 118 | } |
| 119 | |
| 120 | void cRefCountObj::AddRef() const |
| 121 | { |
| 122 | ASSERT(this); |
| 123 | |
| 124 | if (mRefCount <= 0) |
| 125 | { |
| 126 | THROW_INTERNAL("refcountobj.cpp"); |
| 127 | } |
| 128 | |
| 129 | ++mRefCount; |
| 130 | |
| 131 | #ifdef DEBUG |
| 132 | ++referenceCounter; |
| 133 | #endif |
| 134 | } |
| 135 | |
| 136 | void cRefCountObj::Release() const |
| 137 | { |
nothing calls this directly
no outgoing calls
no test coverage detected