From c989276f5e096e0bb576a8230686c077ea6d7e8f Mon Sep 17 00:00:00 2001 From: wrenge Date: Tue, 12 Nov 2024 16:01:35 +0300 Subject: [PATCH] [NETSIM] rented array into struct --- src/DotRecast.Core/Buffers/RcRentedArray.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DotRecast.Core/Buffers/RcRentedArray.cs b/src/DotRecast.Core/Buffers/RcRentedArray.cs index 208b951..7b527d3 100644 --- a/src/DotRecast.Core/Buffers/RcRentedArray.cs +++ b/src/DotRecast.Core/Buffers/RcRentedArray.cs @@ -13,7 +13,7 @@ namespace DotRecast.Core.Buffers } } - public class RcRentedArray : IDisposable + public struct RcRentedArray : IDisposable { private ArrayPool _owner; private T[] _array;