From 073b9a6fcca3c38f06d14deaba04f347279f908e Mon Sep 17 00:00:00 2001 From: Anton Kolesnyk Date: Tue, 1 Dec 2020 17:15:06 -0800 Subject: [PATCH] Remove alternative token usage --- 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 6fc0ab1cf1..62a0a43db1 100644 --- a/sdk/storage/azure-storage-files-shares/src/share_client.cpp +++ b/sdk/storage/azure-storage-files-shares/src/share_client.cpp @@ -129,7 +129,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; }