SourceCode/Bond/Servo/ProcessJob.cpp
@@ -277,6 +277,19 @@ } } bool CProcessJob::setCarrierSlotsAndContexts(std::string carrierId, std::vector<uint8_t> slots, std::vector<void*> contexts) { for (auto& c : m_carriers) { if (c.carrierId.compare(carrierId) == 0) { c.slots = std::move(slots); c.contexts = std::move(contexts); return true; } } return false; } // --------- 核心:serialize/deserialize --------- void CProcessJob::serialize(std::ostream& os) const { // ͷ