Remove 'using namespace' from header files (#5260)

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
This commit is contained in:
Anton Kolesnyk 2024-01-12 14:42:30 -08:00 коммит произвёл GitHub
Родитель 20d9364a3d
Коммит b0217106e4
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 4 добавлений и 8 удалений

Просмотреть файл

@ -10,12 +10,10 @@
#include <memory>
#include <string>
using namespace Azure::Data::Tables::Credentials;
namespace Azure { namespace Data { namespace Tables { namespace _detail { namespace Policies {
class SharedKeyLitePolicy final : public Core::Http::Policies::HttpPolicy {
public:
explicit SharedKeyLitePolicy(std::shared_ptr<SharedKeyCredential> credential)
explicit SharedKeyLitePolicy(std::shared_ptr<Credentials::SharedKeyCredential> credential)
: m_credential{std::move(credential)}
{
}
@ -39,7 +37,7 @@ namespace Azure { namespace Data { namespace Tables { namespace _detail { namesp
}
std::string GetSignature(const Core::Http::Request& request) const;
std::shared_ptr<SharedKeyCredential> m_credential;
std::shared_ptr<Credentials::SharedKeyCredential> m_credential;
};
}}}}} // namespace Azure::Data::Tables::_detail::Policies

Просмотреть файл

@ -10,13 +10,11 @@
#include <memory>
#include <string>
using namespace Azure::Data::Tables::Credentials;
namespace Azure { namespace Data { namespace Tables { namespace _detail { namespace Policies {
class SharedKeyPolicy final : public Core::Http::Policies::HttpPolicy {
public:
explicit SharedKeyPolicy(std::shared_ptr<SharedKeyCredential> credential)
explicit SharedKeyPolicy(std::shared_ptr<Credentials::SharedKeyCredential> credential)
: m_credential{std::move(credential)}
{
}
@ -41,7 +39,7 @@ namespace Azure { namespace Data { namespace Tables { namespace _detail { namesp
private:
std::string GetSignature(const Core::Http::Request& request) const;
std::shared_ptr<SharedKeyCredential> m_credential;
std::shared_ptr<Credentials::SharedKeyCredential> m_credential;
};
}}}}} // namespace Azure::Data::Tables::_detail::Policies