Changeset 1fbf016a09 in tspsg for src/tspsolver.cpp
- Timestamp:
- Dec 18, 2009, 1:57:39 PM (15 years ago)
- Branches:
- 0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
- Children:
- 3bcb7e8910
- Parents:
- 140109febb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tspsolver.cpp
r140109febb r1fbf016a09 211 211 void CTSPSolver::cleanup() 212 212 { 213 QApplication::setOverrideCursor(QCursor(Qt::WaitCursor)); 213 214 route.clear(); 214 215 mayNotBeOptimal = false; 215 216 if (root != NULL) 216 217 deleteNode(root); 218 QApplication::restoreOverrideCursor(); 217 219 } 218 220 219 221 void CTSPSolver::deleteNode(SStep *&node) 220 222 { 223 static int x; 224 x++; 225 qDebug() << ">>>" << x; 221 226 if (node->plNode != NULL) 222 227 deleteNode(node->plNode); … … 225 230 delete node; 226 231 node = NULL; 232 qDebug() << "<<<" << x; 233 x--; 227 234 } 228 235
Note: See TracChangeset
for help on using the changeset viewer.