From e10a415f56ce5b7295870f0a490c06932e5c7a3c Mon Sep 17 00:00:00 2001 From: Chichi Lalescu <chichilalescu@gmail.com> Date: Wed, 3 May 2017 21:47:13 +0200 Subject: [PATCH] make virtual destructor --- bfps/cpp/full_code/direct_numerical_simulation.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bfps/cpp/full_code/direct_numerical_simulation.hpp b/bfps/cpp/full_code/direct_numerical_simulation.hpp index 42ec84d5..1a568558 100644 --- a/bfps/cpp/full_code/direct_numerical_simulation.hpp +++ b/bfps/cpp/full_code/direct_numerical_simulation.hpp @@ -41,7 +41,7 @@ class direct_numerical_simulation direct_numerical_simulation( const MPI_Comm COMMUNICATOR, const std::string &simulation_name); - ~direct_numerical_simulation(){} + virtual ~direct_numerical_simulation(){} virtual int initialize(void) = 0; virtual int main_loop(void) = 0; -- GitLab