| 28 | void AddRefInternal() { m_refs.fetch_add(1); } |
| 29 | |
| 30 | void ReleaseInternal() |
| 31 | { |
| 32 | if (m_refs.fetch_sub(1) == 1) |
| 33 | delete this; |
| 34 | } |
| 35 | |
| 36 | public: |
| 37 | std::atomic<int> m_refs; |
nothing calls this directly
no outgoing calls
no test coverage detected