GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » Reading parameter file, ROOT::delete_TFile(void*) ()
Re: Reading parameter file, ROOT::delete_TFile(void*) () [message #17551 is a reply to message #17549] Wed, 19 November 2014 21:00 Go to previous messageGo to previous message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *ip71.fastwebnet.it
Well,

Quote:
initialising the pointers to the TObjects within the class constructors, and calling the corresponding delete functions within the destructors.


this is how C++ works... If you don't do it you produce memory problems Smile
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [FIXED] FairEvtFilter problem with c++11
Next Topic: tracks belonging to the same MC truth track
Goto Forum:
  


Current Time: Thu Mar 28 23:10:23 CET 2024

Total time taken to generate the page: 0.00839 seconds