| 137 | } |
| 138 | |
| 139 | void CopyConstruct(const ErrorValue& other) { |
| 140 | arena_ = other.arena_; |
| 141 | if (arena_ == nullptr) { |
| 142 | ::new (static_cast<void*>(&status_.val[0])) absl::Status(*std::launder( |
| 143 | reinterpret_cast<const absl::Status*>(&other.status_.val[0]))); |
| 144 | } else { |
| 145 | status_.ptr = other.status_.ptr; |
| 146 | } |
| 147 | } |
| 148 | |
| 149 | void MoveConstruct(ErrorValue& other) { |
| 150 | arena_ = other.arena_; |
no outgoing calls
no test coverage detected