Workaround for the MSVC 19.34 bug (#4152)
* Workaround for the MSVC 19.34 bug * Use _MSC_VER instead of _VSC_FULL_VER (at least 19.34.31931 and .31933 are affected) * Remove newline * Use same code for all compiler versions Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
This commit is contained in:
parent
75285bc4cb
commit
760126502a
@ -63,8 +63,8 @@ namespace Azure { namespace Storage { namespace Blobs { namespace Test {
|
||||
void Run(Azure::Core::Context const& context) override
|
||||
{
|
||||
// Loop each page
|
||||
for (auto page = m_containerClient->ListBlobs({}, context); page.HasPage();
|
||||
page.MoveToNextPage(context))
|
||||
auto page = m_containerClient->ListBlobs({}, context);
|
||||
for (; page.HasPage(); page.MoveToNextPage(context))
|
||||
{
|
||||
// loop each blob
|
||||
for (auto blob : page.Blobs)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user