LAPTOP-SNT8I5JK\Boounion
2025-09-19 3896bd8be7e7db15e5e1b9f3c07469ad614c8a74
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 {
        // ͷ