Problem 773

Summary: class G4ProtonIsotopeProduction has virtual functions but non-virtual destructor
Product: Geant4 Reporter: jasondet
Component: processes/hadronic/modelsAssignee: Hans-Peter.Wellisch
Status: RESOLVED FIXED    
Severity: trivial    
Priority: P2    
Version: 7.1   
Hardware: All   
OS: All   

Description jasondet 2005-07-28 16:41:40 CEST
The line in the summary is the warning message emitted by my compiler. Can
someone please tack a "virtual" in front of the destructor for this class for
the next release? Or if this is done on purpose, please include some
documentation in the hh file as to why?
Comment 1 Hans-Peter.Wellisch 2005-08-08 03:39:59 CEST
Well, this class is not meant to be inherited from. Hence no virtual
destructor...

Many greetings,

Hans-Peter.