Skip to content

Commit

Permalink
Apply suggestion to use pop_back
Browse files Browse the repository at this point in the history
  • Loading branch information
danipozo committed Apr 23, 2024
1 parent c75574a commit 771219a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ struct AzureBlobStorageEndpoint
{
String url = storage_account_url;
if (url.ends_with('/'))
url = url.substr(0, url.size() - 1);
url.pop_back();

if (!account_name.empty())
url += "/" + account_name;
Expand Down

0 comments on commit 771219a

Please sign in to comment.