| 518 | } |
| 519 | |
| 520 | void MoveFrom(MoveOnlyDataType* other) { |
| 521 | Destroy(); |
| 522 | data = other->data; |
| 523 | other->data = nullptr; |
| 524 | moves = other->moves + 1; |
| 525 | } |
| 526 | |
| 527 | int ToInt() const { return data == nullptr ? -42 : *data; } |
| 528 |
nothing calls this directly
no outgoing calls
no test coverage detected