diff --git a/BeefLibs/corlib/src/BumpAllocator.bf b/BeefLibs/corlib/src/BumpAllocator.bf index 8b8f7223..a2a1c926 100644 --- a/BeefLibs/corlib/src/BumpAllocator.bf +++ b/BeefLibs/corlib/src/BumpAllocator.bf @@ -22,7 +22,7 @@ namespace System List mLargeRawAllocs; List mLargeDtorAllocs; int mPoolsSize; - int mLageAllocs; + int mLargeAllocs; public DestructorHandlingKind DestructorHandling = .Allow; uint8* mCurAlloc; @@ -123,7 +123,7 @@ namespace System { if ((size > (mCurEnd - mCurAlloc) / 2) && (mCurAlloc != null)) { - mLageAllocs += size; + mLargeAllocs += size; void* largeAlloc = AllocLarge(size, align); if (mLargeRawAllocs == null) mLargeRawAllocs = new List(); @@ -147,7 +147,7 @@ namespace System { if ((size > (mCurEnd - mCurAlloc) / 2) && (mCurAlloc != null)) { - mLageAllocs += size; + mLargeAllocs += size; void* largeAlloc = AllocLarge(size, align); if (mLargeDtorAllocs == null) mLargeDtorAllocs = new List();