Changeset 14888 for trunk/Mars/mbase
- Timestamp:
- 02/13/13 09:53:24 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mbase/MStatusArray.cc
r13117 r14888 108 108 #ifdef DEBUG 109 109 cout << "Start Delete " << o << " " << o->GetName() << " " << o->ClassName() << endl; 110 ptr = o;111 110 #endif 112 111 delete o; 113 112 114 113 #ifdef DEBUG 115 ptr = 0;116 114 cout << "Done Delete " << o<< endl; 117 115 #endif … … 218 216 { 219 217 #ifdef DEBUG 220 cout<< "MStatusArray::RecursiveRemove " << obj << " from TGraph " << g << endl;218 gLog << all << "MStatusArray::RecursiveRemove " << obj << " from TGraph " << g << endl; 221 219 #endif 222 220 … … 227 225 { 228 226 #ifdef DEBUG 229 cout<< " SetHist(0)" << endl;227 gLog << all << " SetHist(0)" << endl; 230 228 #endif 231 229 g->SetHistogram(0); 232 continue;233 230 } 234 231 … … 240 237 { 241 238 #ifdef DEBUG 242 cout<< " SetFunc(0)" << endl;239 gLog << all << " SetFunc(0)" << endl; 243 240 #endif 244 241 static_cast<MyGraph*>(g)->ResetListOfFunctions(); 245 continue;246 242 } 247 243 } … … 306 302 SetCleanup(o); 307 303 304 #if ROOT_VERSION_CODE < ROOT_VERSION(5,26,00) 308 305 // Now delete the MARS object first because we have full control 309 306 // of them … … 316 313 while ((o=Next3())) 317 314 while (!RecursiveDelete(dynamic_cast<TVirtualPad*>(o))); 315 #endif 318 316 319 317 // And delete all the rest
Note:
See TracChangeset
for help on using the changeset viewer.