Changeset 8afe31 for molecuilder/src/atom.cpp
- Timestamp:
- Oct 5, 2009, 4:05:53 PM (16 years ago)
- Children:
- 58808e
- Parents:
- e1f6d7 (diff), bf497f (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/atom.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/atom.cpp
re1f6d7 r8afe31 6 6 7 7 #include "atom.hpp" 8 #include "memoryallocator.hpp" 8 9 9 10 /************************************* Functions for class atom *************************************/ … … 38 39 previous = NULL; 39 40 next = NULL; 40 father = this; // generally, father is itself41 father = pointer; // generally, father is itself 41 42 Ancestor = NULL; 42 43 GraphNr = -1; … … 53 54 nr = -1; 54 55 sort = &nr; 56 node = &x; 55 57 } 56 58 … … 60 62 atom::~atom() 61 63 { 62 Free ((void **)&ComponentNr, "atom::~atom: *ComponentNr");63 Free ((void **)&Name, "atom::~atom: *Name");64 Free<int>(&ComponentNr, "atom::~atom: *ComponentNr"); 65 Free<char *>(&Name, "atom::~atom: *Name"); 64 66 }; 65 67
Note:
See TracChangeset
for help on using the changeset viewer.
