From 9ad1e5d635e2fd4c2486d5f2bf1cb52d8e768558 Mon Sep 17 00:00:00 2001 From: Shauren Date: Fri, 23 Jun 2023 10:25:18 +0200 Subject: Dep/CascLib: Update to ladislav-zezula/CascLib@ebd79e8fd43279343c543a27fce620f6b1b53cb9 --- dep/CascLib/src/common/Array.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dep/CascLib/src/common/Array.h') diff --git a/dep/CascLib/src/common/Array.h b/dep/CascLib/src/common/Array.h index b46f257e8a4..56cdf073a33 100644 --- a/dep/CascLib/src/common/Array.h +++ b/dep/CascLib/src/common/Array.h @@ -104,7 +104,7 @@ class CASC_ARRAY // Make sure we have array large enough if(!EnlargeArray(ItemIndex + 1, true)) return NULL; - + // Get the items range pbLastItem = m_pItemArray + (m_ItemCount * m_ItemSize); pbNewItem = m_pItemArray + (ItemIndex * m_ItemSize); @@ -170,7 +170,7 @@ class CASC_ARRAY m_ItemCountMax = m_ItemCount = m_ItemSize = 0; } -#ifdef _DEBUG +#ifdef CASCLIB_DEBUG size_t BytesAllocated() { return m_ItemCountMax * m_ItemSize; -- cgit v1.2.3