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 1fe0dd5 commit 8d21e50
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 @@ -273,10 +273,10 @@ namespace Aws
void SecureTunnelingFeature::OnConnectionShutdown(SecureTunnelingContext *contextToRemove)
{
LOG_DEBUG(TAG, "SecureTunnelingFeature::OnConnectionShutdown");
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));
#if defined(DISABLE_MQTT)
LOG_INFO(TAG, "Secure Tunnel closed, component cleaning up open thread");
Expand Down

0 comments on commit 8d21e50

Please sign in to comment.