Skip to content

Commit

Permalink
Fix compilation issues
Browse files Browse the repository at this point in the history
  • Loading branch information
preetham-singh committed Aug 6, 2022
1 parent b3665fd commit d49758f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tlm_teamd/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#include <select.h>
#include <dbconnector.h>
#include <subscriberstatetable.h>
#include <string.h>

#include "teamdctl_mgr.h"
#include "values_store.h"
Expand All @@ -32,7 +31,7 @@ void update_interfaces(swss::SubscriberStateTable & table, TeamdCtlMgr & mgr)
const auto & lag_name = kfvKey(entry);
const auto & op = kfvOp(entry);

if (lag_name.find(VLAN_SUB_INTERFACE_SEPARATOR) != string::npos)
if (lag_name.find(VLAN_SUB_INTERFACE_SEPARATOR) != std::string::npos)
{
SWSS_LOG_INFO("Skip subintf %s statedb event", lag_name.c_str());
continue;
Expand Down

0 comments on commit d49758f

Please sign in to comment.