From d61e106e89fa188a88e6fa5d6d91219136fb8439 Mon Sep 17 00:00:00 2001 From: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com> Date: Wed, 2 Dec 2020 16:14:17 -0800 Subject: [PATCH] Remove alternative token usage (#1053) --- sdk/storage/azure-storage-files-shares/src/share_client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/storage/azure-storage-files-shares/src/share_client.cpp b/sdk/storage/azure-storage-files-shares/src/share_client.cpp index b7770bc44..50bf6b7cc 100644 --- a/sdk/storage/azure-storage-files-shares/src/share_client.cpp +++ b/sdk/storage/azure-storage-files-shares/src/share_client.cpp @@ -135,7 +135,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { const DeleteShareOptions& options) const { auto protocolLayerOptions = Details::ShareRestClient::Share::DeleteOptions(); - if (options.IncludeSnapshots.HasValue() and options.IncludeSnapshots.GetValue()) + if (options.IncludeSnapshots.HasValue() && options.IncludeSnapshots.GetValue()) { protocolLayerOptions.XMsDeleteSnapshots = Models::DeleteSnapshotsOptionType::Include; }