From b82e2339019d6115bf9ce68b70bc36fb3cb478fa Mon Sep 17 00:00:00 2001 From: Stephen Sun Date: Tue, 29 Oct 2024 16:28:19 +0200 Subject: [PATCH] Adjust code according to latest community Signed-off-by: Stephen Sun --- syncd/FlexCounter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syncd/FlexCounter.cpp b/syncd/FlexCounter.cpp index 6dfd1a13c..edafa0d38 100644 --- a/syncd/FlexCounter.cpp +++ b/syncd/FlexCounter.cpp @@ -1380,7 +1380,7 @@ std::shared_ptr FlexCounter::createCounterContext( } else if (context_name == COUNTER_TYPE_ENI) { - auto context = std::make_shared>(context_name, (sai_object_type_t)SAI_OBJECT_TYPE_ENI, m_vendorSai.get(), m_statsMode); + auto context = std::make_shared>(context_name, instance, (sai_object_type_t)SAI_OBJECT_TYPE_ENI, m_vendorSai.get(), m_statsMode); context->always_check_supported_counters = true; return context; }