forked from mirror/DotRecast
[NETSIM] rented array into struct
This commit is contained in:
parent
c0b916a0d1
commit
c989276f5e
|
@ -13,7 +13,7 @@ namespace DotRecast.Core.Buffers
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public class RcRentedArray<T> : IDisposable
|
public struct RcRentedArray<T> : IDisposable
|
||||||
{
|
{
|
||||||
private ArrayPool<T> _owner;
|
private ArrayPool<T> _owner;
|
||||||
private T[] _array;
|
private T[] _array;
|
||||||
|
|
Loading…
Reference in New Issue