Skip to content
Snippets Groups Projects
Commit f08336cb authored by Marco Biasini's avatar Marco Biasini
Browse files

mark destructors virtual

parent 13413e6a
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,8 @@ class CompoundLibBase;
typedef boost::shared_ptr<CompoundLibBase> CompoundLibBasePtr;
class DLLEXPORT_OST_CONOP CompoundLibBase {
public:
virtual ~CompoundLibBase() {}
virtual CompoundPtr FindCompound(const String& id,
Compound::Dialect dialect) const = 0;
};
......
......@@ -46,6 +46,7 @@ class DLLEXPORT_OST_CONOP Processor {
public:
DiagnosticsPtr Process(mol::EntityHandle ent, bool log_diags=true) const;
virtual ProcessorPtr Copy() const = 0;
virtual ~Processor() {}
protected:
virtual void DoProcess(DiagnosticsPtr diags,
mol::EntityHandle ent) const = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment