This commit is contained in:
2022-12-27 19:40:50 +02:00
parent f12475ea99
commit d3e02e23e5
3 changed files with 32 additions and 50 deletions

View File

@@ -615,7 +615,6 @@ namespace MUtils
FORCE_INLINE bool* ToBoolArray(const BitArray<>& data)
{
bool* arr = (bool*)CoreCLR::Allocate(data.Count() * sizeof(bool));
//memcpy(arr, data.Get(), data.Count() * sizeof(bool));
for (int i = 0; i < data.Count(); i++)
arr[i] = data[i];
return arr;