| 420 | }; |
| 421 | |
| 422 | void Status::MoveFrom(Status& s) { |
| 423 | if (ARROW_PREDICT_FALSE(state_ != NULL)) { |
| 424 | if (!state_->is_constant) { |
| 425 | DeleteState(); |
| 426 | } |
| 427 | } |
| 428 | state_ = s.state_; |
| 429 | s.state_ = NULLPTR; |
| 430 | } |
| 431 | |
| 432 | Status::Status(const Status& s) : state_{NULLPTR} { CopyFrom(s); } |
| 433 |
nothing calls this directly
no test coverage detected