From e84a6abfd99c3117d079169b85bf116bca79ea4d Mon Sep 17 00:00:00 2001 From: lguohan Date: Thu, 24 Jan 2019 09:02:49 -0800 Subject: [PATCH] use sai_stat_id_t for new SAI header file (#769) Signed-off-by: Guohan Lu --- orchagent/pfcactionhandler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/orchagent/pfcactionhandler.cpp b/orchagent/pfcactionhandler.cpp index fd1f15ccb3ea..0b94b7747550 100644 --- a/orchagent/pfcactionhandler.cpp +++ b/orchagent/pfcactionhandler.cpp @@ -359,13 +359,13 @@ bool PfcWdLossyHandler::getHwCounters(PfcWdHwStats& counters) { SWSS_LOG_ENTER(); - static const vector queueStatIds = + static const vector queueStatIds = { SAI_QUEUE_STAT_PACKETS, SAI_QUEUE_STAT_DROPPED_PACKETS, }; - static const vector pgStatIds = + static const vector pgStatIds = { SAI_INGRESS_PRIORITY_GROUP_STAT_PACKETS, SAI_INGRESS_PRIORITY_GROUP_STAT_DROPPED_PACKETS,