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