From 203d136fc21b81137351191a7ceace6dc5ea8b22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Atgeirr=20Fl=C3=B8=20Rasmussen?= Date: Thu, 7 Mar 2013 15:14:01 +0100 Subject: [PATCH] Make destructor of CompressibleTpfa virtual. --- opm/core/pressure/CompressibleTpfa.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opm/core/pressure/CompressibleTpfa.hpp b/opm/core/pressure/CompressibleTpfa.hpp index bf9e2901..6be30455 100644 --- a/opm/core/pressure/CompressibleTpfa.hpp +++ b/opm/core/pressure/CompressibleTpfa.hpp @@ -72,7 +72,7 @@ namespace Opm const Wells* wells); /// Destructor. - ~CompressibleTpfa(); + virtual ~CompressibleTpfa(); /// Solve the pressure equation by Newton-Raphson scheme. /// May throw an exception if the number of iterations