diff --git a/source/main.cpp b/source/main.cpp index e78ec576..64c012a5 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -180,8 +180,7 @@ void attemptConnection() try { Retry::ExponentialRetryConfig retryConfig = {10 * 1000, 900 * 1000, -1, nullptr}; - auto publishLambda = []() -> bool - { + auto publishLambda = []() -> bool { int connectionStatus = resourceManager.get()->establishConnection(config.config); if (SharedCrtResourceManager::ABORT == connectionStatus) { @@ -203,8 +202,8 @@ void attemptConnection() return false; } }; - std::thread attemptConnectionThread([retryConfig, publishLambda] - { Retry::exponentialBackoff(retryConfig, publishLambda); }); + std::thread attemptConnectionThread( + [retryConfig, publishLambda] { Retry::exponentialBackoff(retryConfig, publishLambda); }); attemptConnectionThread.join(); } catch (const std::exception &e)