Ignore:
Timestamp:
Oct 5, 2009, 2:35:06 PM (16 years ago)
Author:
Frederik Heber <heber@…>
Children:
bf497f
Parents:
2aea0b (diff), 14db08 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'ConcaveHull' of ssh://stud64d-02/home/metzler/workspace/espack into ConcaveHull

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/stackclass.hpp

    r2aea0b r7794d8  
    33
    44#include "verbose.hpp"
     5#include "memoryallocator.hpp"
    56
    67template <typename T> class StackClass;
     
    4344  NextFreeField = 0;
    4445  EntryCount = dimension;
    45   StackList = (T *) Malloc(sizeof(T)*EntryCount, "StackClass::StackClass: **StackList");
     46  StackList = Malloc<T>(EntryCount, "StackClass::StackClass: **StackList");
    4647};
    4748
     
    5051template <typename T> StackClass<T>::~StackClass()
    5152{
    52   Free((void **)&StackList, "StackClass::StackClass: **StackList");
     53  Free(&StackList);
    5354};
    5455
Note: See TracChangeset for help on using the changeset viewer.