diff options
author | Shauren <shauren.trinity@gmail.com> | 2023-06-23 10:25:18 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2023-06-23 10:25:18 +0200 |
commit | 9ad1e5d635e2fd4c2486d5f2bf1cb52d8e768558 (patch) | |
tree | 00b379e3f84ff5b428f0fafd5bdeac0489ede0c4 /dep/CascLib/src/common/Array.h | |
parent | 54596eb8ce5d7933164073eb3768f52124ba4262 (diff) |
Dep/CascLib: Update to ladislav-zezula/CascLib@ebd79e8fd43279343c543a27fce620f6b1b53cb9
Diffstat (limited to 'dep/CascLib/src/common/Array.h')
-rw-r--r-- | dep/CascLib/src/common/Array.h | 4 |
1 files changed, 2 insertions, 2 deletions
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; |