diff options
author | Aki <please@ignore.pl> | 2022-03-27 17:42:26 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-03-27 17:42:26 +0200 |
commit | a12e588079700d55a0b788fea2df7727c2e41f52 (patch) | |
tree | 690072569624c73af5043b3619acaab4d298b1fa /FoundationEx/List.inl | |
parent | 72bb517271dad40a440533ad0796a88247011199 (diff) | |
download | starshatter-a12e588079700d55a0b788fea2df7727c2e41f52.zip starshatter-a12e588079700d55a0b788fea2df7727c2e41f52.tar.gz starshatter-a12e588079700d55a0b788fea2df7727c2e41f52.tar.bz2 |
Removed MemDebug from FoundationEx
Diffstat (limited to 'FoundationEx/List.inl')
-rw-r--r-- | FoundationEx/List.inl | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/FoundationEx/List.inl b/FoundationEx/List.inl index e39cc27..5fff962 100644 --- a/FoundationEx/List.inl +++ b/FoundationEx/List.inl @@ -21,12 +21,7 @@ template <class T> List<T>::List(const List<T>& l) : items(l.items), extent(l.extent) { -#ifdef MEM_DEBUG - array = new(__FILE__,__LINE__) PTR[extent]; -#else array = new PTR[extent]; -#endif - for (int i = 0; i < extent; i++) array[i] = l.array[i]; } @@ -123,12 +118,7 @@ void List<T>::resize(int newsize) { if (newsize > extent) { extent = 16 * (newsize/16 + 1); - -#ifdef MEM_DEBUG - T** v = new(__FILE__,__LINE__) PTR[extent]; -#else T** v = new PTR[extent]; -#endif int i; for (i = 0; i < items; i++) v[i] = array[i]; |