diff --git a/fairmq/sdk/DDSSession.h b/fairmq/sdk/DDSSession.h index 9dc7ccbb..0a1c4885 100644 --- a/fairmq/sdk/DDSSession.h +++ b/fairmq/sdk/DDSSession.h @@ -73,14 +73,14 @@ class DDSSession auto IsRunning() const -> bool; auto SubmitAgents(Quantity agents) -> void; struct AgentInfo { - Quantity idleAgentsCount; - Quantity activeAgentsCount; - Quantity executingAgentsCount; + Quantity idleAgentsCount = 0; + Quantity activeAgentsCount = 0; + Quantity executingAgentsCount = 0; std::vector agents; }; auto RequestAgentInfo() -> AgentInfo; struct CommanderInfo { - int pid; + int pid = -1; std::string activeTopologyName; }; auto RequestCommanderInfo() -> CommanderInfo;