MCPcopy Create free account
hub / github.com/apache/arrow / MoveFrom

Method MoveFrom

cpp/src/arrow/status.h:422–430  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

420};
421
422void 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
432Status::Status(const Status& s) : state_{NULLPTR} { CopyFrom(s); }
433

Callers

nothing calls this directly

Calls 1

DeleteStateFunction · 0.85

Tested by

no test coverage detected