| 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(); |
nothing calls this directly
no outgoing calls
no test coverage detected