Compilation warnings resolved

This commit is contained in:
mlemanczyk committed 2023-04-30 21:42:06 +02:00
1 parent 450701f800
commit 0951b442ae
7 files changed
+19 -19

No files matched your search

@@ -1277,7 +1277,7 @@ namespace Recyclable.Collections.Benchmarks.POC
_blockSizePow2Shift = (byte)(31 - BitOperations.LeadingZeroCount((uint)minBlockSize));
_capacity = Resize(this, minBlockSize, _blockSizePow2Shift, expectedItemsCount.Value);
if (_memoryBlocks?.Length > 0 && minBlockSize != _memoryBlocks[0].Length)
if (_memoryBlocks!.Length > 0 && minBlockSize != _memoryBlocks[0].Length)
{
_blockSize = _memoryBlocks[0].Length;
_blockSizePow2Shift = (byte)(31 - BitOperations.LeadingZeroCount((uint)minBlockSize));