1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

Fix version increment in zero-sized clear

This commit is contained in:
Brian Fiete 2022-06-01 11:01:29 -07:00
parent 2025f0619d
commit d2ed047ebc

View file

@ -429,10 +429,10 @@ namespace System.Collections
if (mSize > 0)
{
mSize = 0;
}
#if VERSION_LIST
mVersion++;
mVersion++;
#endif
}
}
/*public static void DeleteItemsAndClear<T>(List<T> list) where T : delete