aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/Version.cpp
diff options
context:
space:
mode:
authornalpp <nalpp@yandex-team.ru>2022-02-10 16:46:46 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:46 +0300
commit30d1ef3941e0dc835be7609de5ebee66958f215a (patch)
tree49e222ea1c5804306084bb3ae065bb702625360f /contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/Version.cpp
parent87f3eb38999df2d3c1cb77f8ffb9c52ec9c516fb (diff)
downloadydb-30d1ef3941e0dc835be7609de5ebee66958f215a.tar.gz
Restoring authorship annotation for <nalpp@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/Version.cpp')
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/Version.cpp98
1 files changed, 49 insertions, 49 deletions
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/Version.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/Version.cpp
index b379330738..35291906b7 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/Version.cpp
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/Version.cpp
@@ -2,52 +2,52 @@
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
-
-#include <aws/core/Version.h>
-#include <aws/core/VersionConfig.h>
-
-namespace Aws
-{
-namespace Version
-{
- const char* GetVersionString()
- {
- return AWS_SDK_VERSION_STRING;
- }
-
- unsigned GetVersionMajor()
- {
- return AWS_SDK_VERSION_MAJOR;
- }
-
- unsigned GetVersionMinor()
- {
- return AWS_SDK_VERSION_MINOR;
- }
-
- unsigned GetVersionPatch()
- {
- return AWS_SDK_VERSION_PATCH;
- }
-
-
- const char* GetCompilerVersionString()
- {
-#define xstr(s) str(s)
-#define str(s) #s
-#if defined(_MSC_VER)
- return "MSVC/" xstr(_MSC_VER);
-#elif defined(__clang__)
- return "Clang/" xstr(__clang_major__) "." xstr(__clang_minor__) "." xstr(__clang_patchlevel__);
-#elif defined(__GNUC__)
- return "GCC/" xstr(__GNUC__) "." xstr(__GNUC_MINOR__) "." xstr(__GNUC_PATCHLEVEL__);
-#else
- return "UnknownCompiler";
-#endif
-#undef str
-#undef xstr
- }
-} //namespace Version
-} //namespace Aws
-
-
+
+#include <aws/core/Version.h>
+#include <aws/core/VersionConfig.h>
+
+namespace Aws
+{
+namespace Version
+{
+ const char* GetVersionString()
+ {
+ return AWS_SDK_VERSION_STRING;
+ }
+
+ unsigned GetVersionMajor()
+ {
+ return AWS_SDK_VERSION_MAJOR;
+ }
+
+ unsigned GetVersionMinor()
+ {
+ return AWS_SDK_VERSION_MINOR;
+ }
+
+ unsigned GetVersionPatch()
+ {
+ return AWS_SDK_VERSION_PATCH;
+ }
+
+
+ const char* GetCompilerVersionString()
+ {
+#define xstr(s) str(s)
+#define str(s) #s
+#if defined(_MSC_VER)
+ return "MSVC/" xstr(_MSC_VER);
+#elif defined(__clang__)
+ return "Clang/" xstr(__clang_major__) "." xstr(__clang_minor__) "." xstr(__clang_patchlevel__);
+#elif defined(__GNUC__)
+ return "GCC/" xstr(__GNUC__) "." xstr(__GNUC_MINOR__) "." xstr(__GNUC_PATCHLEVEL__);
+#else
+ return "UnknownCompiler";
+#endif
+#undef str
+#undef xstr
+ }
+} //namespace Version
+} //namespace Aws
+
+