From a2bfa7acf140bb2e3a2779a214988b436848a7c6 Mon Sep 17 00:00:00 2001 From: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com> Date: Wed, 27 Jan 2021 11:29:20 -0800 Subject: [PATCH] Move ValuePolicy from Details namespace to Internal (#1494) Follow up on #1458. --- sdk/core/azure-core/inc/azure/core/http/policy.hpp | 4 ++-- sdk/core/azure-core/test/ut/policy.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sdk/core/azure-core/inc/azure/core/http/policy.hpp b/sdk/core/azure-core/inc/azure/core/http/policy.hpp index cdb366b66..be9e7ca0f 100644 --- a/sdk/core/azure-core/inc/azure/core/http/policy.hpp +++ b/sdk/core/azure-core/inc/azure/core/http/policy.hpp @@ -421,7 +421,7 @@ namespace Azure { namespace Core { namespace Http { static constexpr auto const HttpTransportAdapter = Classification(4); }; - namespace Details { + namespace Internal { /** * @brief @ValuePolicy options. */ @@ -474,5 +474,5 @@ namespace Azure { namespace Core { namespace Http { return nextHttpPolicy.Send(ctx, request); } }; - } // namespace Details + } // namespace Internal }}} // namespace Azure::Core::Http diff --git a/sdk/core/azure-core/test/ut/policy.cpp b/sdk/core/azure-core/test/ut/policy.cpp index cd443a7fe..97d4364ac 100644 --- a/sdk/core/azure-core/test/ut/policy.cpp +++ b/sdk/core/azure-core/test/ut/policy.cpp @@ -68,12 +68,12 @@ TEST(Policy, ValuePolicy) using namespace Azure::Core; using namespace Azure::Core::Http; - Azure::Core::Http::Details::ValuePolicyOptions options + Azure::Core::Http::Internal::ValuePolicyOptions options = {{{"hdrkey1", "HdrVal1"}, {"hdrkey2", "HdrVal2"}}, {{"QryKey1", "QryVal1"}, {"QryKey2", "QryVal2"}}}; std::vector> policies; - policies.emplace_back(std::make_unique(options)); + policies.emplace_back(std::make_unique(options)); policies.emplace_back(std::make_unique()); HttpPipeline pipeline(policies);