hlsf error is solving
This commit is contained in:
@@ -37,7 +37,7 @@ namespace StgSharp.HighPerformance.Memory
|
||||
{
|
||||
|
||||
// Bucket system field - directly in main allocator class
|
||||
private BucketNode*[] _bucketHeads;
|
||||
private readonly BucketNode*[] _bucketHeads;
|
||||
|
||||
// _spareMemory is also the beginning position of allocator
|
||||
private Entry* _spareMemory;
|
||||
@@ -64,7 +64,7 @@ namespace StgSharp.HighPerformance.Memory
|
||||
_spareMemory->PreviousNear = _spareMemory;
|
||||
_spareMemory->NextNear = _spareMemory;
|
||||
_spareMemory->Position = (nuint)m_Buffer;
|
||||
_spareMemory->Size = (uint)byteSize;
|
||||
_spareMemory->Size = (long)byteSize;
|
||||
}
|
||||
|
||||
public HybridLayerSegregatedFitAllocator(nuint byteSize, int align)
|
||||
@@ -85,7 +85,7 @@ namespace StgSharp.HighPerformance.Memory
|
||||
_spareMemory->PreviousNear = _spareMemory;
|
||||
_spareMemory->NextNear = _spareMemory;
|
||||
_spareMemory->Position = (nuint)m_Buffer;
|
||||
_spareMemory->Size = (uint)byteSize;
|
||||
_spareMemory->Size = (long)byteSize;
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
|
||||
Reference in New Issue
Block a user