From 15592985701955c73d86ccd43a5ae32c7a693501 Mon Sep 17 00:00:00 2001 From: zjswhhh Date: Wed, 26 Jan 2022 02:46:33 +0000 Subject: [PATCH] update handler --- src/DbInterface.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/DbInterface.cpp b/src/DbInterface.cpp index 02d7acca..dbabc895 100644 --- a/src/DbInterface.cpp +++ b/src/DbInterface.cpp @@ -615,14 +615,14 @@ void DbInterface::processMuxPortConfigNotifiction(std::dequeupdateMuxPortConfig(port, v); } - std::vector::const_iterator cit = std::find_if( + std::vector::const_iterator c_it = std::find_if( fieldValues.cbegin(), fieldValues.cend(), [] (const swss::FieldValueTuple &fv) {return fvField(fv) == "pck_loss_data_reset";} ); - if (cit != fieldValues.cend()) { - const std::string f = cit->first; - const std::string v = cit->second; + if (c_it != fieldValues.cend()) { + const std::string f = c_it->first; + const std::string v = c_it->second; MUXLOGDEBUG(boost::format("key: %s, Operation: %s, f: %s, v: %s") % port %