From aa0a388e9872bc38ba48e439b0a87c5be15f7e81 Mon Sep 17 00:00:00 2001 From: JinmingHu Date: Wed, 7 Apr 2021 12:22:53 +0800 Subject: [PATCH] small fix: const Type& to be consistent (#2061) --- sdk/storage/azure-storage-common/test/test_base.cpp | 2 +- sdk/storage/azure-storage-common/test/test_base.hpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sdk/storage/azure-storage-common/test/test_base.cpp b/sdk/storage/azure-storage-common/test/test_base.cpp index 82e7a8717..caf2ca6d5 100644 --- a/sdk/storage/azure-storage-common/test/test_base.cpp +++ b/sdk/storage/azure-storage-common/test/test_base.cpp @@ -141,7 +141,7 @@ namespace Azure { namespace Storage { namespace Test { return connectionString; } - std::string AppendQueryParameters(Azure::Core::Url const& url, std::string const& queryParameters) + std::string AppendQueryParameters(const Azure::Core::Url& url, const std::string& queryParameters) { std::string absoluteUrl = url.GetAbsoluteUrl(); if (queryParameters.empty()) diff --git a/sdk/storage/azure-storage-common/test/test_base.hpp b/sdk/storage/azure-storage-common/test/test_base.hpp index a47f8c137..3321d9c19 100644 --- a/sdk/storage/azure-storage-common/test/test_base.hpp +++ b/sdk/storage/azure-storage-common/test/test_base.hpp @@ -44,8 +44,8 @@ namespace Azure { namespace Storage { namespace Test { } std::string AppendQueryParameters( - Azure::Core::Url const& url, - std::string const& queryParameters); + const Azure::Core::Url& url, + const std::string& queryParameters); const static Azure::ETag DummyETag("0x8D83B58BDF51D75"); const static Azure::ETag DummyETag2("0x8D812645BFB0CDE");