summaryrefslogtreecommitdiff
path: root/lib/common/Guards.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/common/Guards.h')
-rw-r--r--lib/common/Guards.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/common/Guards.h b/lib/common/Guards.h
index 46b6d2bd..3637b261 100644
--- a/lib/common/Guards.h
+++ b/lib/common/Guards.h
@@ -110,6 +110,11 @@ public:
return (type)mpBlock;
}
+ int GetSize() const
+ {
+ return mBlockSize;
+ }
+
void Resize(int NewSize)
{
void *ptrn = ::realloc(mpBlock, NewSize);