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

Method Destroy

cpp/src/arrow/testing/gtest_util.h:512–518  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

510 ~MoveOnlyDataType() { Destroy(); }
511
512 void Destroy() {
513 if (data != nullptr) {
514 delete data;
515 data = nullptr;
516 moves = -1;
517 }
518 }
519
520 void MoveFrom(MoveOnlyDataType* other) {
521 Destroy();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected