mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-13 09:22:05 -05:00
fixed: add virtual dtor to class with virtual members
This commit is contained in:
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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user