| 147 | } |
| 148 | |
| 149 | void MoveConstruct(ErrorValue& other) { |
| 150 | arena_ = other.arena_; |
| 151 | if (arena_ == nullptr) { |
| 152 | ::new (static_cast<void*>(&status_.val[0])) |
| 153 | absl::Status(std::move(*std::launder( |
| 154 | reinterpret_cast<absl::Status*>(&other.status_.val[0])))); |
| 155 | } else { |
| 156 | status_.ptr = other.status_.ptr; |
| 157 | } |
| 158 | } |
| 159 | |
| 160 | void Destruct() { |
| 161 | if (arena_ == nullptr) { |
no outgoing calls
no test coverage detected