aboutsummaryrefslogtreecommitdiff
path: root/dep/CascLib/src/common/Array.h
diff options
context:
space:
mode:
Diffstat (limited to 'dep/CascLib/src/common/Array.h')
-rw-r--r--dep/CascLib/src/common/Array.h4
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;