From 9806e4692e53bd05a8c2687ab17ad313a235eb1d Mon Sep 17 00:00:00 2001 From: JinmingHu Date: Wed, 21 Jul 2021 17:51:52 +0800 Subject: [PATCH] move constant definition to bottom to get around a bug in APIView tool (#2648) --- .../azure/storage/blobs/protocol/blob_rest_client.hpp | 9 ++++----- .../azure/storage/queues/protocol/queue_rest_client.hpp | 9 ++++----- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/sdk/storage/azure-storage-blobs/inc/azure/storage/blobs/protocol/blob_rest_client.hpp b/sdk/storage/azure-storage-blobs/inc/azure/storage/blobs/protocol/blob_rest_client.hpp index 74a950b9a..218cba480 100644 --- a/sdk/storage/azure-storage-blobs/inc/azure/storage/blobs/protocol/blob_rest_client.hpp +++ b/sdk/storage/azure-storage-blobs/inc/azure/storage/blobs/protocol/blob_rest_client.hpp @@ -24,11 +24,6 @@ #include "azure/storage/blobs/dll_import_export.hpp" namespace Azure { namespace Storage { namespace Blobs { - - namespace _detail { - constexpr static const char* ApiVersion = "2020-02-10"; - } // namespace _detail - namespace Models { /** @@ -2853,6 +2848,10 @@ namespace Azure { namespace Storage { namespace Blobs { } // namespace Models + namespace _detail { + constexpr static const char* ApiVersion = "2020-02-10"; + } // namespace _detail + namespace _detail { using namespace Models; diff --git a/sdk/storage/azure-storage-queues/inc/azure/storage/queues/protocol/queue_rest_client.hpp b/sdk/storage/azure-storage-queues/inc/azure/storage/queues/protocol/queue_rest_client.hpp index 5051d44f9..c8dee0f59 100644 --- a/sdk/storage/azure-storage-queues/inc/azure/storage/queues/protocol/queue_rest_client.hpp +++ b/sdk/storage/azure-storage-queues/inc/azure/storage/queues/protocol/queue_rest_client.hpp @@ -21,11 +21,6 @@ #include "azure/storage/queues/dll_import_export.hpp" namespace Azure { namespace Storage { namespace Queues { - - namespace _detail { - constexpr static const char* ApiVersion = "2018-03-28"; - } // namespace _detail - namespace Models { /** @@ -491,6 +486,10 @@ namespace Azure { namespace Storage { namespace Queues { } // namespace Models + namespace _detail { + constexpr static const char* ApiVersion = "2018-03-28"; + } // namespace _detail + namespace _detail { using namespace Models;