| 292 | namespace common_internal { |
| 293 | |
| 294 | inline const ReferenceCount* absl_nullable OwnerRelease(Owner owner) noexcept { |
| 295 | uintptr_t ptr = std::exchange(owner.ptr_, kMetadataOwnerNone); |
| 296 | if (Owner::IsReferenceCount(ptr)) { |
| 297 | return Owner::AsReferenceCount(ptr); |
| 298 | } |
| 299 | return nullptr; |
| 300 | } |
| 301 | |
| 302 | } // namespace common_internal |
| 303 |
nothing calls this directly
no test coverage detected