| 45 | } |
| 46 | } |
| 47 | Handle Handle::Clone() const |
| 48 | { |
| 49 | if (*this) { |
| 50 | return Handle::CreateCloned(handle_); |
| 51 | } |
| 52 | else { |
| 53 | return {}; |
| 54 | } |
| 55 | } |
| 56 | Handle::HandleType Handle::Release() |
| 57 | { |
| 58 | return std::exchange(handle_, nullptr); |
nothing calls this directly
no outgoing calls
no test coverage detected