MCPcopy Create free account
hub / github.com/3rdparty/libprocess / Copyable

Class Copyable

src/tests/benchmarks.cpp:527–534  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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) {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected