| 289 | } |
| 290 | |
| 291 | inline void StrongRef(const ReferenceCount& refcount) noexcept { |
| 292 | const auto count = |
| 293 | refcount.strong_refcount_.fetch_add(1, std::memory_order_relaxed); |
| 294 | ABSL_DCHECK_GT(count, 0); |
| 295 | } |
| 296 | |
| 297 | inline void StrongRef(const ReferenceCount* absl_nullable refcount) noexcept { |
| 298 | if (refcount != nullptr) { |
no outgoing calls