Skip to content

Commit e37a4da

Browse files
committed
Support LinksConstants.Null
1 parent 892d2a4 commit e37a4da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/Platform.Data.Doublets/ILinksExtensions.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -690,7 +690,7 @@ namespace Platform::Data::Doublets
690690
return typename TStorage::LinkAddressType {};
691691
};
692692
auto any = storage.Constants.Any;
693-
for (auto count = Count(storage); count != 0; count = Count(storage))
693+
for (auto count = Count(storage); count != storage.Constants.Null; count = Count(storage))
694694
{
695695
DIRECT_METHOD_CALL(TStorage, storage, Delete, {count, any, any}, handler);
696696
}

0 commit comments

Comments
 (0)