From 19dbdef00b416ead62ce4a0f9d369ff0608ce5bf Mon Sep 17 00:00:00 2001 From: Harsh Gandhi Date: Thu, 28 Sep 2023 15:43:56 -0700 Subject: [PATCH] addressed lint errors --- source/tunneling/SecureTunnelingFeature.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/tunneling/SecureTunnelingFeature.cpp b/source/tunneling/SecureTunnelingFeature.cpp index ca921225..dbbdbf3c 100644 --- a/source/tunneling/SecureTunnelingFeature.cpp +++ b/source/tunneling/SecureTunnelingFeature.cpp @@ -275,10 +275,10 @@ namespace Aws #if defined(DISABLE_MQTT) this->stop(); #else - auto it = find_if( - mContexts.begin(), - mContexts.end(), - [&](const unique_ptr &c) { return c.get() == contextToRemove; }); + auto it = + find_if(mContexts.begin(), mContexts.end(), [&](const unique_ptr &c) { + return c.get() == contextToRemove; + }); mContexts.erase(std::remove(mContexts.begin(), mContexts.end(), *it)); #endif }