From ea8ee36f51bf6e2e12020728b7032d24b4feec9d Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Tue, 17 Sep 2024 07:51:56 +0200 Subject: [PATCH] FlowProblem: add virtual dtor --- opm/simulators/flow/FlowProblem.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/opm/simulators/flow/FlowProblem.hpp b/opm/simulators/flow/FlowProblem.hpp index 0e423a00c0c..a9d359bb7c8 100644 --- a/opm/simulators/flow/FlowProblem.hpp +++ b/opm/simulators/flow/FlowProblem.hpp @@ -251,6 +251,8 @@ class FlowProblem : public GetPropType relpermDiagnostics.diagnosis(vanguard.eclState(), vanguard.cartesianIndexMapper()); } + virtual ~FlowProblem() = default; + void prefetch(const Element& elem) const { pffDofData_.prefetch(elem); }