Changeset 7794d8 for molecuilder/src/stackclass.hpp
- Timestamp:
- Oct 5, 2009, 2:35:06 PM (16 years ago)
- 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. - File:
-
- 1 edited
-
molecuilder/src/stackclass.hpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/stackclass.hpp
r2aea0b r7794d8 3 3 4 4 #include "verbose.hpp" 5 #include "memoryallocator.hpp" 5 6 6 7 template <typename T> class StackClass; … … 43 44 NextFreeField = 0; 44 45 EntryCount = dimension; 45 StackList = (T *) Malloc(sizeof(T)*EntryCount, "StackClass::StackClass: **StackList");46 StackList = Malloc<T>(EntryCount, "StackClass::StackClass: **StackList"); 46 47 }; 47 48 … … 50 51 template <typename T> StackClass<T>::~StackClass() 51 52 { 52 Free( (void **)&StackList, "StackClass::StackClass: **StackList");53 Free(&StackList); 53 54 }; 54 55
Note:
See TracChangeset
for help on using the changeset viewer.
