Skip to content

Commit

Permalink
resolved indentation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
HarshGandhi-AWS committed Oct 3, 2023
1 parent 2b4460f commit d151a16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/tunneling/SecureTunnelingFeature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,8 @@ namespace Aws
LOG_DEBUG(TAG, "SecureTunnelingFeature::OnConnectionShutdown");
auto it =
find_if(mContexts.begin(), mContexts.end(), [&](const unique_ptr<SecureTunnelingContext> &c) {
return c.get() == contextToRemove;
});
return c.get() == contextToRemove;
});
mContexts.erase(std::remove(mContexts.begin(), mContexts.end(), *it));

#if defined(DISABLE_MQTT)
Expand Down

0 comments on commit d151a16

Please sign in to comment.