| 341 | } |
| 342 | |
| 343 | inline void WeakRef(const ReferenceCount& refcount) noexcept { |
| 344 | const auto count = |
| 345 | refcount.weak_refcount_.fetch_add(1, std::memory_order_relaxed); |
| 346 | ABSL_DCHECK_GT(count, 0); |
| 347 | } |
| 348 | |
| 349 | inline void WeakRef(const ReferenceCount* absl_nullable refcount) noexcept { |
| 350 | if (refcount != nullptr) { |