Remove alternative token usage (#1053)

This commit is contained in:
Anton Kolesnyk 2020-12-02 16:14:17 -08:00 committed by GitHub
parent 31cd0d1e76
commit d61e106e89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}