From 7efdf53bb7ca3049fa66a23be206a200cb932554 Mon Sep 17 00:00:00 2001 From: John Hewson Date: Fri, 20 Nov 2009 04:18:20 +0000 Subject: [PATCH] Added virtual destructors to LTPspecies class structure. These do nothing for now. --- Cantera/src/transport/LiquidTransportData.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Cantera/src/transport/LiquidTransportData.h b/Cantera/src/transport/LiquidTransportData.h index bc7894439..eb9dfd87f 100644 --- a/Cantera/src/transport/LiquidTransportData.h +++ b/Cantera/src/transport/LiquidTransportData.h @@ -93,7 +93,7 @@ namespace Cantera { //! Assignment operator LTPspecies& operator=(const LTPspecies& right ); - ~LTPspecies( ) { } + virtual ~LTPspecies( ) { } //! Returns the vector of pure species tranport property /*! @@ -186,6 +186,8 @@ namespace Cantera { //! Assignment operator LTPspecies_Const& operator=(const LTPspecies_Const& right ); + virtual ~LTPspecies_Const( ) { } + //! Returns the pure species tranport property /*! * The pure species transport property (i.e. pure species viscosity) @@ -225,6 +227,8 @@ namespace Cantera { //! Assignment operator LTPspecies_Arrhenius& operator=(const LTPspecies_Arrhenius& right ); + virtual ~LTPspecies_Arrhenius( ) { } + //! Returns the pure species tranport property /*! * The pure species transport property (i.e. pure species viscosity) @@ -276,6 +280,8 @@ namespace Cantera { //! Assignment operator LTPspecies_Poly& operator=(const LTPspecies_Poly& right ); + virtual ~LTPspecies_Poly( ) { } + //! Returns the pure species tranport property /*! * The pure species transport property (i.e. pure species viscosity)