Fixed clang build issue

This commit is contained in:
Smita Kulkarni 2023-06-19 14:59:21 +02:00
parent 86d0e542ea
commit 9a5d917cb5

View File

@ -344,7 +344,7 @@ AzureClientPtr StorageAzureBlob::createClient(StorageAzureBlob::Configuration co
if (e.StatusCode == Azure::Core::Http::HttpStatusCode::Conflict)
{
std::string final_url;
size_t pos = configuration.connection_url.find("?");
size_t pos = configuration.connection_url.find('?');
if (pos != std::string::npos)
{
auto url_without_sas = configuration.connection_url.substr(0, pos);