Changeset 11246


Ignore:
Timestamp:
07/04/11 20:07:56 (13 years ago)
Author:
tbretz
Message:
Made destructor virtual -- destructors of base classes should always be virtual.
Location:
trunk/FACT++/src
Files:
2 edited

Legend:

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

    r11149 r11246  
    1717public:
    1818    DimDescriptionService(const std::string &name, const std::string &format);
    19     ~DimDescriptionService();
     19    virtual ~DimDescriptionService();
    2020
    2121    std::string GetDescription() const { return fDescription; }
  • trunk/FACT++/src/EventImp.h

    r10881 r11246  
    2323    /// Copy constructor
    2424    EventImp(const EventImp &cmd);
     25    virtual ~EventImp() {}
    2526
    2627    // Description
Note: See TracChangeset for help on using the changeset viewer.