| 525 | |
| 526 | // This simulates protobuf objects, which do not support moves. |
| 527 | struct Copyable |
| 528 | { |
| 529 | std::vector<int> data; |
| 530 | |
| 531 | Copyable(std::vector<int>&& data) : data(std::move(data)) {} |
| 532 | Copyable(const Copyable& that) = default; |
| 533 | Copyable& operator=(const Copyable&) = default; |
| 534 | }; |
| 535 | |
| 536 | DispatchProcess(Promise<Nothing> *promise, long repeat) |
| 537 | : promise(promise), repeat(repeat) {} |
nothing calls this directly
no outgoing calls
no test coverage detected