From 040092215d0d48c4fba47ab710682bdfa1188d51 Mon Sep 17 00:00:00 2001 From: Dmitry-Me Date: Mon, 6 Apr 2015 18:07:18 +0300 Subject: [PATCH] Better parameter name --- tinyxml2.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tinyxml2.h b/tinyxml2.h index d3d0b0a..88b04f4 100755 --- a/tinyxml2.h +++ b/tinyxml2.h @@ -211,13 +211,13 @@ private: Has a small initial memory pool, so that low or no usage will not cause a call to new/delete */ -template +template class DynArray { public: DynArray() { _mem = _pool; - _allocated = INIT; + _allocated = INITIAL_SIZE; _size = 0; } @@ -312,7 +312,7 @@ private: } T* _mem; - T _pool[INIT]; + T _pool[INITIAL_SIZE]; int _allocated; // objects allocated int _size; // number objects in use };