Fix clang tidy

This commit is contained in:
kssenii 2021-04-22 07:37:20 +00:00
parent bb6bc61f22
commit 06730743e6

View File

@ -321,9 +321,9 @@ StorageURLWithFailover::StorageURLWithFailover(
{
for (const auto & uri_option : uri_options_)
{
Poco::URI uri_(uri_option);
context_->getRemoteHostFilter().checkURL(uri_);
uri_options.emplace_back(std::move(uri_));
Poco::URI poco_uri(uri_option);
context_->getRemoteHostFilter().checkURL(poco_uri);
uri_options.emplace_back(std::move(poco_uri));
LOG_DEBUG(&Poco::Logger::get("StorageURLDistributed"), "Adding URL option: {}", uri_option);
}
}