From d8214af143d92806b8364aa902b477997a9dc82f Mon Sep 17 00:00:00 2001 From: JinmingHu Date: Tue, 18 May 2021 13:32:36 +0800 Subject: [PATCH] int -> int32_t (#2290) --- .../inc/azure/storage/blobs/blob_options.hpp | 4 ++-- .../azure-storage-blobs/src/private/package_version.hpp | 6 +++--- .../inc/azure/storage/files/datalake/datalake_options.hpp | 2 +- .../src/private/package_version.hpp | 6 +++--- .../inc/azure/storage/files/shares/share_options.hpp | 4 ++-- .../src/private/package_version.hpp | 6 +++--- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/sdk/storage/azure-storage-blobs/inc/azure/storage/blobs/blob_options.hpp b/sdk/storage/azure-storage-blobs/inc/azure/storage/blobs/blob_options.hpp index a331b93f6..ec3979a01 100644 --- a/sdk/storage/azure-storage-blobs/inc/azure/storage/blobs/blob_options.hpp +++ b/sdk/storage/azure-storage-blobs/inc/azure/storage/blobs/blob_options.hpp @@ -542,7 +542,7 @@ namespace Azure { namespace Storage { namespace Blobs { /** * @brief The maximum number of threads that may be used in a parallel transfer. */ - int Concurrency = 5; + int32_t Concurrency = 5; } TransferOptions; }; @@ -749,7 +749,7 @@ namespace Azure { namespace Storage { namespace Blobs { /** * @brief The maximum number of threads that may be used in a parallel transfer. */ - int Concurrency = 5; + int32_t Concurrency = 5; } TransferOptions; }; diff --git a/sdk/storage/azure-storage-blobs/src/private/package_version.hpp b/sdk/storage/azure-storage-blobs/src/private/package_version.hpp index 933c78d60..551b502b9 100644 --- a/sdk/storage/azure-storage-blobs/src/private/package_version.hpp +++ b/sdk/storage/azure-storage-blobs/src/private/package_version.hpp @@ -23,13 +23,13 @@ namespace Azure { namespace Storage { namespace Blobs { namespace _detail { class PackageVersion final { public: /// Major numeric identifier. - static constexpr int Major = AZURE_STORAGE_BLOBS_VERSION_MAJOR; + static constexpr int32_t Major = AZURE_STORAGE_BLOBS_VERSION_MAJOR; /// Minor numeric identifier. - static constexpr int Minor = AZURE_STORAGE_BLOBS_VERSION_MINOR; + static constexpr int32_t Minor = AZURE_STORAGE_BLOBS_VERSION_MINOR; /// Patch numeric identifier. - static constexpr int Patch = AZURE_STORAGE_BLOBS_VERSION_PATCH; + static constexpr int32_t Patch = AZURE_STORAGE_BLOBS_VERSION_PATCH; /// Indicates whether the SDK is in a pre-release state. static constexpr bool IsPreRelease diff --git a/sdk/storage/azure-storage-files-datalake/inc/azure/storage/files/datalake/datalake_options.hpp b/sdk/storage/azure-storage-files-datalake/inc/azure/storage/files/datalake/datalake_options.hpp index 22c35c1fe..6ab580c5e 100644 --- a/sdk/storage/azure-storage-files-datalake/inc/azure/storage/files/datalake/datalake_options.hpp +++ b/sdk/storage/azure-storage-files-datalake/inc/azure/storage/files/datalake/datalake_options.hpp @@ -598,7 +598,7 @@ namespace Azure { namespace Storage { namespace Files { namespace DataLake { /** * The maximum number of threads that may be used in a parallel transfer. */ - int Concurrency = 5; + int32_t Concurrency = 5; } TransferOptions; }; diff --git a/sdk/storage/azure-storage-files-datalake/src/private/package_version.hpp b/sdk/storage/azure-storage-files-datalake/src/private/package_version.hpp index 8e4416223..3aeff82e2 100644 --- a/sdk/storage/azure-storage-files-datalake/src/private/package_version.hpp +++ b/sdk/storage/azure-storage-files-datalake/src/private/package_version.hpp @@ -24,13 +24,13 @@ namespace Azure { namespace Storage { namespace Files { namespace DataLake { nam class PackageVersion final { public: /// Major numeric identifier. - static constexpr int Major = AZURE_STORAGE_FILES_DATALAKE_VERSION_MAJOR; + static constexpr int32_t Major = AZURE_STORAGE_FILES_DATALAKE_VERSION_MAJOR; /// Minor numeric identifier. - static constexpr int Minor = AZURE_STORAGE_FILES_DATALAKE_VERSION_MINOR; + static constexpr int32_t Minor = AZURE_STORAGE_FILES_DATALAKE_VERSION_MINOR; /// Patch numeric identifier. - static constexpr int Patch = AZURE_STORAGE_FILES_DATALAKE_VERSION_PATCH; + static constexpr int32_t Patch = AZURE_STORAGE_FILES_DATALAKE_VERSION_PATCH; /// Indicates whether the SDK is in a pre-release state. static constexpr bool IsPreRelease diff --git a/sdk/storage/azure-storage-files-shares/inc/azure/storage/files/shares/share_options.hpp b/sdk/storage/azure-storage-files-shares/inc/azure/storage/files/shares/share_options.hpp index a8af715fd..5d75f881b 100644 --- a/sdk/storage/azure-storage-files-shares/inc/azure/storage/files/shares/share_options.hpp +++ b/sdk/storage/azure-storage-files-shares/inc/azure/storage/files/shares/share_options.hpp @@ -638,7 +638,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { /** * The maximum number of threads that may be used in a parallel transfer. */ - int Concurrency = 5; + int32_t Concurrency = 5; } TransferOptions; }; @@ -689,7 +689,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { /** * The maximum number of threads that may be used in a parallel transfer. */ - int Concurrency = 5; + int32_t Concurrency = 5; } TransferOptions; }; diff --git a/sdk/storage/azure-storage-files-shares/src/private/package_version.hpp b/sdk/storage/azure-storage-files-shares/src/private/package_version.hpp index a731ff8b5..6cc4d7858 100644 --- a/sdk/storage/azure-storage-files-shares/src/private/package_version.hpp +++ b/sdk/storage/azure-storage-files-shares/src/private/package_version.hpp @@ -23,13 +23,13 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { names class PackageVersion final { public: /// Major numeric identifier. - static constexpr int Major = AZURE_STORAGE_FILES_SHARES_VERSION_MAJOR; + static constexpr int32_t Major = AZURE_STORAGE_FILES_SHARES_VERSION_MAJOR; /// Minor numeric identifier. - static constexpr int Minor = AZURE_STORAGE_FILES_SHARES_VERSION_MINOR; + static constexpr int32_t Minor = AZURE_STORAGE_FILES_SHARES_VERSION_MINOR; /// Patch numeric identifier. - static constexpr int Patch = AZURE_STORAGE_FILES_SHARES_VERSION_PATCH; + static constexpr int32_t Patch = AZURE_STORAGE_FILES_SHARES_VERSION_PATCH; /// Indicates whether the SDK is in a pre-release state. static constexpr bool IsPreRelease