Changeset 3544 in orxonox.OLD for orxonox/trunk/src/lib/coord/p_node.cc
- Timestamp:
- Mar 14, 2005, 10:54:00 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/coord/p_node.cc
r3543 r3544 113 113 /* there is currently a problem with cleaning up - fix*/ 114 114 115 this->destroy(); 115 PNode* pn = this->children->enumerate(); 116 while( pn != NULL) 117 { 118 pn = this->children->nextElement(); 119 delete pn; 120 } 121 /* this deletes all children in the list */ 122 delete this->children; 123 116 124 } 117 125 … … 122 130 cleans up all pnodes 123 131 */ 132 /* 124 133 void PNode::destroy () 125 134 { … … 130 139 pn = this->children->nextElement(); 131 140 } 132 / * this deletes all children in the list */141 // this deletes all children in the list 133 142 this->children->destroy (); 134 143 135 144 static_cast<BaseObject*>(this)->destroy(); 136 145 } 137 146 */ 138 147 139 148 /**
Note: See TracChangeset
for help on using the changeset viewer.