Added virtual destructor since I use destruction on pointers to derived class
This commit is contained in:
parent
382ef273a4
commit
164f156aa7
|
|
@ -9,6 +9,7 @@ public:
|
||||||
virtual SimulationResults executeSimulation(const std::shared_ptr<SimulationJob> &simulationJob)
|
virtual SimulationResults executeSimulation(const std::shared_ptr<SimulationJob> &simulationJob)
|
||||||
= 0;
|
= 0;
|
||||||
virtual void setStructure(const std::shared_ptr<SimulationMesh> &pMesh) = 0;
|
virtual void setStructure(const std::shared_ptr<SimulationMesh> &pMesh) = 0;
|
||||||
|
virtual ~SimulationModel() = default;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // SIMULATIONMODEL_HPP
|
#endif // SIMULATIONMODEL_HPP
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue