commit | c07409b5c353621184d57042f4759b675912fc70 | [log] [tgz] |
---|---|---|
author | Lee Thomason <leethomason@gmail.com> | Sat Aug 25 11:04:13 2018 -0700 |
committer | Lee Thomason <leethomason@gmail.com> | Sat Aug 25 11:04:13 2018 -0700 |
tree | 32bd5fc071c18ce680edd7b88c0f40a345d39b71 | |
parent | 3be5d2b74b458033e5361994569347d262cbcdfa [diff] [blame] |
remove virtual call in destruction
diff --git a/tinyxml2.h b/tinyxml2.h index a09bd5b..f91803b 100755 --- a/tinyxml2.h +++ b/tinyxml2.h
@@ -334,7 +334,6 @@ virtual void* Alloc() = 0; virtual void Free( void* ) = 0; virtual void SetTracked() = 0; - virtual void Clear() = 0; }; @@ -347,7 +346,7 @@ public: MemPoolT() : _blockPtrs(), _root(0), _currentAllocs(0), _nAllocs(0), _maxAllocs(0), _nUntracked(0) {} ~MemPoolT() { - Clear(); + MemPoolT< ITEM_SIZE >::Clear(); } void Clear() {