From 30d1ef3941e0dc835be7609de5ebee66958f215a Mon Sep 17 00:00:00 2001
From: nalpp <nalpp@yandex-team.ru>
Date: Thu, 10 Feb 2022 16:46:46 +0300
Subject: Restoring authorship annotation for <nalpp@yandex-team.ru>. Commit 2
 of 2.

---
 .../source/client/DefaultRetryStrategy.cpp         | 56 +++++++++++-----------
 1 file changed, 28 insertions(+), 28 deletions(-)

(limited to 'contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/client/DefaultRetryStrategy.cpp')

diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/client/DefaultRetryStrategy.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/client/DefaultRetryStrategy.cpp
index ad5c3d613f..7e57c79ffc 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/client/DefaultRetryStrategy.cpp
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/client/DefaultRetryStrategy.cpp
@@ -2,31 +2,31 @@
  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
  * SPDX-License-Identifier: Apache-2.0.
  */
- 
-#include <aws/core/client/DefaultRetryStrategy.h> 
- 
-#include <aws/core/client/AWSError.h> 
-#include <aws/core/utils/UnreferencedParam.h> 
- 
-using namespace Aws; 
-using namespace Aws::Client; 
- 
-bool DefaultRetryStrategy::ShouldRetry(const AWSError<CoreErrors>& error, long attemptedRetries) const 
-{     
-    if (attemptedRetries >= m_maxRetries) 
-        return false; 
- 
-    return error.ShouldRetry(); 
-} 
- 
-long DefaultRetryStrategy::CalculateDelayBeforeNextRetry(const AWSError<CoreErrors>& error, long attemptedRetries) const 
-{ 
-    AWS_UNREFERENCED_PARAM(error); 
- 
-    if (attemptedRetries == 0) 
-    { 
-        return 0; 
-    } 
- 
-    return (1 << attemptedRetries) * m_scaleFactor; 
-} 
+
+#include <aws/core/client/DefaultRetryStrategy.h>
+
+#include <aws/core/client/AWSError.h>
+#include <aws/core/utils/UnreferencedParam.h>
+
+using namespace Aws;
+using namespace Aws::Client;
+
+bool DefaultRetryStrategy::ShouldRetry(const AWSError<CoreErrors>& error, long attemptedRetries) const
+{    
+    if (attemptedRetries >= m_maxRetries)
+        return false;
+
+    return error.ShouldRetry();
+}
+
+long DefaultRetryStrategy::CalculateDelayBeforeNextRetry(const AWSError<CoreErrors>& error, long attemptedRetries) const
+{
+    AWS_UNREFERENCED_PARAM(error);
+
+    if (attemptedRetries == 0)
+    {
+        return 0;
+    }
+
+    return (1 << attemptedRetries) * m_scaleFactor;
+}
-- 
cgit v1.2.3