Destroy this reference
| 102 | |
| 103 | /// Destroy this reference |
| 104 | ~ref() { |
| 105 | if (m_ptr) { |
| 106 | ((Object *) m_ptr)->decRef(); |
| 107 | } |
| 108 | |
| 109 | print_destroyed(this); |
| 110 | track_destroyed((ref_tag *) this); |
| 111 | } |
| 112 | |
| 113 | /// Move another reference into the current one |
| 114 | ref &operator=(ref &&r) noexcept { |
nothing calls this directly
no test coverage detected