DefaultAllowedHttpHeaders: Make static default const (#1849)

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
This commit is contained in:
Anton Kolesnyk 2021-03-10 16:40:34 -08:00 committed by GitHub
parent 865f707532
commit 698fac6f19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -382,7 +382,7 @@ namespace Azure { namespace Core { namespace Http {
};
namespace _detail {
AZ_CORE_DLLEXPORT extern Azure::Core::CaseInsensitiveSet g_defaultAllowedHttpHeaders;
AZ_CORE_DLLEXPORT extern Azure::Core::CaseInsensitiveSet const g_defaultAllowedHttpHeaders;
}
/**

View File

@ -97,7 +97,7 @@ inline std::string GetResponseLogMessage(
}
} // namespace
Azure::Core::CaseInsensitiveSet Azure::Core::Http::_detail::g_defaultAllowedHttpHeaders
Azure::Core::CaseInsensitiveSet const Azure::Core::Http::_detail::g_defaultAllowedHttpHeaders
= {"x-ms-client-request-id",
"x-ms-return-client-request-id",
"traceparent",