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

Method MoveFrom

cpp/src/arrow/status.h:420–428  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

418};
419
420void Status::MoveFrom(Status& s) {
421 if (ARROW_PREDICT_FALSE(state_ != NULL)) {
422 if (!state_->is_constant) {
423 DeleteState();
424 }
425 }
426 state_ = s.state_;
427 s.state_ = NULLPTR;
428}
429
430Status::Status(const Status& s) : state_{NULLPTR} { CopyFrom(s); }
431

Callers

nothing calls this directly

Calls 1

DeleteStateFunction · 0.85

Tested by

no test coverage detected