Commit 95c439d5 authored by Sophie Schrader's avatar Sophie Schrader

added virtual destructor

avoids memory leakage in meg_solver
parent b2151a89
......@@ -25,6 +25,9 @@ namespace duneuro
virtual void addFluxToVTKWriter(VTKWriter<VC>& writer) const = 0;
virtual std::size_t numberOfCoils() const = 0;
virtual std::size_t numberOfProjections(std::size_t coil) const = 0;
virtual ~MEGSolverInterface()
{
}
};
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment