From db85d3e4c1ebf833a854207f46265e0f19204376 Mon Sep 17 00:00:00 2001 From: Madhusudan Challa Date: Thu, 8 Aug 2024 22:06:51 -0700 Subject: [PATCH] Address code review comments (#583) agent declared protected in base class Signed-off-by: Madhu Challa --- agent-ovs/ovs/SecGrpStatsManager.cpp | 3 +-- agent-ovs/ovs/include/SecGrpStatsManager.h | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/agent-ovs/ovs/SecGrpStatsManager.cpp b/agent-ovs/ovs/SecGrpStatsManager.cpp index e25ebdb3..f479d32a 100644 --- a/agent-ovs/ovs/SecGrpStatsManager.cpp +++ b/agent-ovs/ovs/SecGrpStatsManager.cpp @@ -47,8 +47,7 @@ using boost::system::error_code; SecGrpStatsManager::SecGrpStatsManager(Agent* agent_, IdGenerator& idGen_, SwitchManager& switchManager_, long timer_interval_) - : PolicyStatsManager(agent_,idGen_,switchManager_,timer_interval_), - agent(agent_) { + : PolicyStatsManager(agent_,idGen_,switchManager_,timer_interval_) { } diff --git a/agent-ovs/ovs/include/SecGrpStatsManager.h b/agent-ovs/ovs/include/SecGrpStatsManager.h index fe64744d..4f43a2df 100644 --- a/agent-ovs/ovs/include/SecGrpStatsManager.h +++ b/agent-ovs/ovs/include/SecGrpStatsManager.h @@ -85,7 +85,6 @@ class SecGrpStatsManager : public PolicyStatsManager { private: flowCounterState_t secGrpInState; flowCounterState_t secGrpOutState; - Agent *agent; }; } /* namespace opflexagent */