Skip to content

Commit

Permalink
addressed lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
HarshGandhi-AWS committed Sep 28, 2023
1 parent a4ce621 commit 19dbdef
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions source/tunneling/SecureTunnelingFeature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -275,10 +275,10 @@ namespace Aws
#if defined(DISABLE_MQTT)
this->stop();
#else
auto it = find_if(
mContexts.begin(),
mContexts.end(),
[&](const unique_ptr<SecureTunnelingContext> &c) { return c.get() == contextToRemove; });
auto it =
find_if(mContexts.begin(), mContexts.end(), [&](const unique_ptr<SecureTunnelingContext> &c) {
return c.get() == contextToRemove;
});
mContexts.erase(std::remove(mContexts.begin(), mContexts.end(), *it));
#endif
}
Expand Down

0 comments on commit 19dbdef

Please sign in to comment.