fixed: add virtual dtor to class with virtual members

This commit is contained in:
Arne Morten Kvarving committed 2022-06-27 14:47:44 +02:00
1 parent 1794934f0d
commit 9751b78992
1 file changed
+2
@@ -60,6 +60,8 @@ public:
static std::unique_ptr<Preconditioner> create(PreconditionerType type, int verbosity, ILUReorder opencl_ilu_reorder);
virtual ~Preconditioner() = default;
// nested Preconditioners might need to override this
virtual void setOpencl(std::shared_ptr<cl::Context>& context, std::shared_ptr<cl::CommandQueue>& queue);