Changeset 11247


Ignore:
Timestamp:
07/04/11 20:22:17 (13 years ago)
Author:
tbretz
Message:
Made destructors virtual.
Location:
trunk/FACT++/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/Configuration.h

    r11039 r11247  
    6868public:
    6969    Configuration(const std::string &prgname="");
     70    virtual ~Configuration() { }
    7071
    7172    /// Retrieve data from a database and return them as options
  • trunk/FACT++/src/EventBuilderWrapper.h

    r11244 r11247  
    3535public:
    3636    DataFileImp(uint32_t id) : fRunId(id) { }
     37    virtual ~DataFileImp() { }
    3738
    3839    virtual bool OpenFile(RUN_HEAD* h) = 0;
     
    798799        // InitRunNumber();
    799800    }
    800     ~EventBuilderWrapper()
     801    virtual ~EventBuilderWrapper()
    801802    {
    802803        Abort();
  • trunk/FACT++/src/MessageImp.h

    r10780 r11247  
    2727public:
    2828    MessageImp(std::ostream &out=std::cout);
     29    virtual ~MessageImp() { }
    2930
    3031    virtual void IndicateStateChange(const Time &, const std::string &) { }
  • trunk/FACT++/src/Readline.h

    r11217 r11247  
    5757public:
    5858    Readline(const char *prgname);
    59     ~Readline();
     59    virtual ~Readline();
    6060
    6161    // Access to readline
Note: See TracChangeset for help on using the changeset viewer.