From 8c53a5a1b9c128889b04b83b1ab6f7c2a04b3ae3 Mon Sep 17 00:00:00 2001 From: Harry Moffat Date: Mon, 4 Jun 2007 23:05:07 +0000 Subject: [PATCH] Changed the destructor to be virtual. --- Cantera/src/kinetics/ReactionData.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Cantera/src/kinetics/ReactionData.h b/Cantera/src/kinetics/ReactionData.h index 79c30cb65..99541ed14 100755 --- a/Cantera/src/kinetics/ReactionData.h +++ b/Cantera/src/kinetics/ReactionData.h @@ -1,6 +1,8 @@ /** * @file ReactionData.h * + */ +/* * $Author$ * $Revision$ * $Date$ @@ -31,7 +33,7 @@ namespace Cantera { global = false; beta = 0.0; } - ~ReactionData(){} + virtual ~ReactionData(){} int reactionType; int number, rxn_number; @@ -43,6 +45,8 @@ namespace Cantera { std::vector rgroups; std::vector pgroups; std::map thirdBodyEfficiencies; + + //! True if the current reaction is reversible. False otherwise bool reversible; int rateCoeffType; vector_fp rateCoeffParameters;