diff --git a/include/cantera/equil/MultiPhase.h b/include/cantera/equil/MultiPhase.h index bcb468f55..2e70b8458 100644 --- a/include/cantera/equil/MultiPhase.h +++ b/include/cantera/equil/MultiPhase.h @@ -64,7 +64,7 @@ public: //! Destructor. Does nothing. Class MultiPhase does not take "ownership" //! (i.e. responsibility for destroying) the phase objects. - virtual ~MultiPhase(); + virtual ~MultiPhase() {} MultiPhase& operator=(const MultiPhase& right); diff --git a/include/cantera/equil/vcs_SpeciesProperties.h b/include/cantera/equil/vcs_SpeciesProperties.h index 24aa0b899..ae76d246c 100644 --- a/include/cantera/equil/vcs_SpeciesProperties.h +++ b/include/cantera/equil/vcs_SpeciesProperties.h @@ -48,7 +48,7 @@ public: vcs_SpeciesProperties(size_t indexPhase, size_t indexSpeciesPhase, vcs_VolPhase* owning); - virtual ~vcs_SpeciesProperties(); + virtual ~vcs_SpeciesProperties() {} vcs_SpeciesProperties(const vcs_SpeciesProperties& b); vcs_SpeciesProperties& operator=(const vcs_SpeciesProperties& b); diff --git a/include/cantera/equil/vcs_species_thermo.h b/include/cantera/equil/vcs_species_thermo.h index 5253f3560..ea0dcfe1f 100644 --- a/include/cantera/equil/vcs_species_thermo.h +++ b/include/cantera/equil/vcs_species_thermo.h @@ -93,7 +93,7 @@ public: int m_VCS_UnitsFormat; VCS_SPECIES_THERMO(size_t indexPhase, size_t indexSpeciesPhase); - virtual ~VCS_SPECIES_THERMO(); + virtual ~VCS_SPECIES_THERMO() {} VCS_SPECIES_THERMO(const VCS_SPECIES_THERMO& b); VCS_SPECIES_THERMO& operator=(const VCS_SPECIES_THERMO& b); diff --git a/include/cantera/kinetics/ExtraGlobalRxn.h b/include/cantera/kinetics/ExtraGlobalRxn.h index d34feb263..3f0fd89b0 100644 --- a/include/cantera/kinetics/ExtraGlobalRxn.h +++ b/include/cantera/kinetics/ExtraGlobalRxn.h @@ -43,7 +43,7 @@ public: ExtraGlobalRxn(Kinetics* k_ptr); //! Destructor - virtual ~ExtraGlobalRxn(); + virtual ~ExtraGlobalRxn() {} void setupElemRxnVector(double* RxnVector, int specialSpecies = -1); diff --git a/include/cantera/kinetics/InterfaceKinetics.h b/include/cantera/kinetics/InterfaceKinetics.h index dc287b1d6..3be621333 100644 --- a/include/cantera/kinetics/InterfaceKinetics.h +++ b/include/cantera/kinetics/InterfaceKinetics.h @@ -28,11 +28,11 @@ class RxnOrders { public: //! constructors - RxnOrders(); + RxnOrders() {} RxnOrders(const RxnOrders &right); - ~RxnOrders(); + ~RxnOrders() {} RxnOrders& operator=(const RxnOrders &right); diff --git a/include/cantera/kinetics/ReactionStoichMgr.h b/include/cantera/kinetics/ReactionStoichMgr.h index 736a5f8b7..37f4db676 100644 --- a/include/cantera/kinetics/ReactionStoichMgr.h +++ b/include/cantera/kinetics/ReactionStoichMgr.h @@ -62,7 +62,7 @@ public: ReactionStoichMgr(); /// Destructor. - virtual ~ReactionStoichMgr(); + virtual ~ReactionStoichMgr() {} ReactionStoichMgr(const ReactionStoichMgr& right); diff --git a/include/cantera/kinetics/RxnMolChange.h b/include/cantera/kinetics/RxnMolChange.h index f842aba4c..2c5a37e36 100644 --- a/include/cantera/kinetics/RxnMolChange.h +++ b/include/cantera/kinetics/RxnMolChange.h @@ -36,7 +36,7 @@ public: RxnMolChange(Cantera::Kinetics* kinPtr, int irxn); //! Destructor - ~RxnMolChange(); + ~RxnMolChange() {} //! Constructor for the object if the object refers to a global reaction /*! diff --git a/include/cantera/kinetics/solveSP.h b/include/cantera/kinetics/solveSP.h index 4fe776dc5..496731d1f 100644 --- a/include/cantera/kinetics/solveSP.h +++ b/include/cantera/kinetics/solveSP.h @@ -154,7 +154,7 @@ public: solveSP(ImplicitSurfChem* surfChemPtr, int bulkFunc = BULK_ETCH); //! Destructor. Deletes the integrator. - ~solveSP(); + ~solveSP() {} private: //! Unimplemented private copy constructor diff --git a/include/cantera/numerics/Func1.h b/include/cantera/numerics/Func1.h index 7b1c52be7..9b2535cdb 100644 --- a/include/cantera/numerics/Func1.h +++ b/include/cantera/numerics/Func1.h @@ -43,8 +43,7 @@ class Func1 public: Func1(); - virtual ~Func1(); - + virtual ~Func1() {} Func1(const Func1& right); diff --git a/include/cantera/numerics/GeneralMatrix.h b/include/cantera/numerics/GeneralMatrix.h index 071ccb679..2b1173f03 100644 --- a/include/cantera/numerics/GeneralMatrix.h +++ b/include/cantera/numerics/GeneralMatrix.h @@ -39,7 +39,7 @@ public: GeneralMatrix& operator=(const GeneralMatrix& right); //! Destructor. Does nothing. - virtual ~GeneralMatrix(); + virtual ~GeneralMatrix() {} //! Duplicator member function /*! diff --git a/include/cantera/numerics/RootFind.h b/include/cantera/numerics/RootFind.h index 9281c671f..d0bd6a2a7 100644 --- a/include/cantera/numerics/RootFind.h +++ b/include/cantera/numerics/RootFind.h @@ -140,7 +140,7 @@ public: //! Copy constructor RootFind(const RootFind& r); - ~RootFind(); + ~RootFind() {} //! Assignment operator RootFind& operator=(const RootFind& right); diff --git a/include/cantera/numerics/solveProb.h b/include/cantera/numerics/solveProb.h index 0fef8f9dd..fcad9f95c 100644 --- a/include/cantera/numerics/solveProb.h +++ b/include/cantera/numerics/solveProb.h @@ -142,7 +142,7 @@ public: //! Constructor for the object solveProb(ResidEval* resid); - virtual ~solveProb(); + virtual ~solveProb() {} private: diff --git a/include/cantera/oneD/Sim1D.h b/include/cantera/oneD/Sim1D.h index 05567ea2a..f93f0bf44 100644 --- a/include/cantera/oneD/Sim1D.h +++ b/include/cantera/oneD/Sim1D.h @@ -25,7 +25,7 @@ public: * but is not meant to be used in most applications. Use the next * constructor */ - Sim1D(); + Sim1D() {} /** * Standard constructor. diff --git a/include/cantera/thermo/ConstDensityThermo.h b/include/cantera/thermo/ConstDensityThermo.h index dbf115a39..c0a1872c5 100644 --- a/include/cantera/thermo/ConstDensityThermo.h +++ b/include/cantera/thermo/ConstDensityThermo.h @@ -29,7 +29,7 @@ class ConstDensityThermo : public ThermoPhase { public: //! Constructor. - ConstDensityThermo(); + ConstDensityThermo() {} //! Copy Constructor /*! diff --git a/include/cantera/thermo/GibbsExcessVPSSTP.h b/include/cantera/thermo/GibbsExcessVPSSTP.h index 755afa9a2..36825b58d 100644 --- a/include/cantera/thermo/GibbsExcessVPSSTP.h +++ b/include/cantera/thermo/GibbsExcessVPSSTP.h @@ -108,7 +108,7 @@ public: * density conservation and therefore element conservation * is the more important principle to follow. */ - GibbsExcessVPSSTP(); + GibbsExcessVPSSTP() {} //! Copy constructor /*! diff --git a/include/cantera/thermo/MineralEQ3.h b/include/cantera/thermo/MineralEQ3.h index 5e52e631e..538b18db8 100644 --- a/include/cantera/thermo/MineralEQ3.h +++ b/include/cantera/thermo/MineralEQ3.h @@ -95,7 +95,7 @@ class MineralEQ3 : public StoichSubstanceSSTP { public: //! Default constructor for the StoichSubstanceSSTP class - MineralEQ3(); + MineralEQ3() {} //! Construct and initialize a StoichSubstanceSSTP ThermoPhase object //! directly from an ASCII input file diff --git a/include/cantera/thermo/PDSS.h b/include/cantera/thermo/PDSS.h index 77df0b351..f8a38aaff 100644 --- a/include/cantera/thermo/PDSS.h +++ b/include/cantera/thermo/PDSS.h @@ -222,7 +222,7 @@ public: PDSS& operator=(const PDSS& b); //! Destructor for the phase - virtual ~PDSS(); + virtual ~PDSS() {} //! Duplication routine for objects which inherit from PDSS /*! diff --git a/include/cantera/thermo/StoichSubstanceSSTP.h b/include/cantera/thermo/StoichSubstanceSSTP.h index 0b5e9e88f..6ca94e296 100644 --- a/include/cantera/thermo/StoichSubstanceSSTP.h +++ b/include/cantera/thermo/StoichSubstanceSSTP.h @@ -158,7 +158,7 @@ class StoichSubstanceSSTP : public SingleSpeciesTP { public: //! Default constructor for the StoichSubstanceSSTP class - StoichSubstanceSSTP(); + StoichSubstanceSSTP() {} //! Construct and initialize a StoichSubstanceSSTP ThermoPhase object //! directly from an ASCII input file @@ -521,7 +521,7 @@ public: electrodeElectron& operator=(const electrodeElectron& right); //! Destructor - virtual ~electrodeElectron(); + virtual ~electrodeElectron() {} void setParametersFromXML(const XML_Node& eosdata); diff --git a/include/cantera/thermo/VPSSMgr.h b/include/cantera/thermo/VPSSMgr.h index 343d83989..9960b4ea1 100644 --- a/include/cantera/thermo/VPSSMgr.h +++ b/include/cantera/thermo/VPSSMgr.h @@ -246,7 +246,7 @@ public: VPSSMgr(VPStandardStateTP* vptp_ptr, SpeciesThermo* spth = 0); //! Destructor - virtual ~VPSSMgr(); + virtual ~VPSSMgr() {} //! Copy Constructor VPSSMgr(const VPSSMgr& right); diff --git a/include/cantera/transport/LTPspecies.h b/include/cantera/transport/LTPspecies.h index 1c052cf69..b01e61870 100644 --- a/include/cantera/transport/LTPspecies.h +++ b/include/cantera/transport/LTPspecies.h @@ -105,7 +105,7 @@ public: LTPspecies& operator=(const LTPspecies& right); //! Destructor - virtual ~LTPspecies(); + virtual ~LTPspecies() {} //! Duplication routine /*! diff --git a/include/cantera/transport/TransportBase.h b/include/cantera/transport/TransportBase.h index d21fef00a..5c77e04eb 100644 --- a/include/cantera/transport/TransportBase.h +++ b/include/cantera/transport/TransportBase.h @@ -173,7 +173,7 @@ public: */ Transport(thermo_t* thermo=0, size_t ndim = 1); - virtual ~Transport(); + virtual ~Transport() {} Transport(const Transport& right); Transport& operator=(const Transport& right); diff --git a/include/cantera/transport/TransportParams.h b/include/cantera/transport/TransportParams.h index 73c8178aa..bb1210a6e 100644 --- a/include/cantera/transport/TransportParams.h +++ b/include/cantera/transport/TransportParams.h @@ -21,7 +21,7 @@ class TransportParams { public: TransportParams(); - virtual ~TransportParams(); + virtual ~TransportParams() {} //! Local storage of the number of species size_t nsp_; diff --git a/include/cantera/zeroD/ConstPressureReactor.h b/include/cantera/zeroD/ConstPressureReactor.h index cdd31de1c..ffef058ce 100644 --- a/include/cantera/zeroD/ConstPressureReactor.h +++ b/include/cantera/zeroD/ConstPressureReactor.h @@ -23,7 +23,7 @@ namespace Cantera class ConstPressureReactor : public Reactor { public: - ConstPressureReactor(); + ConstPressureReactor() {} virtual int type() const { return ConstPressureReactorType; diff --git a/src/base/application.cpp b/src/base/application.cpp index 7c942a0b0..937dce119 100644 --- a/src/base/application.cpp +++ b/src/base/application.cpp @@ -67,8 +67,6 @@ static int get_modified_time(const std::string& path) { } Application::Messages::Messages() : - errorMessage(0), - errorRoutine(0), logwriter(0) { // install a default logwriter that writes to standard @@ -171,12 +169,8 @@ void Application::ThreadMessages::removeThreadMessages() #endif // THREAD_SAFE_CANTERA Application::Application() : - inputDirs(0), stop_on_error(false), - options(), - xmlfiles(), - m_suppress_deprecation_warnings(false), - pMessenger() + m_suppress_deprecation_warnings(false) { #if !defined( THREAD_SAFE_CANTERA ) pMessenger = std::auto_ptr(new Messages()); diff --git a/src/base/units.h b/src/base/units.h index 482a988cc..c97502fa0 100644 --- a/src/base/units.h +++ b/src/base/units.h @@ -162,9 +162,7 @@ private: //! Units class constructor, containing the default mappings between //! strings and units. - Unit() : - m_u(), - m_act_u() { + Unit() { // unity m_u["1"] = 1.0; diff --git a/src/equil/MultiPhase.cpp b/src/equil/MultiPhase.cpp index dc45805f5..e96e442d3 100644 --- a/src/equil/MultiPhase.cpp +++ b/src/equil/MultiPhase.cpp @@ -42,10 +42,6 @@ MultiPhase::MultiPhase(const MultiPhase& right) : operator=(right); } -MultiPhase::~MultiPhase() -{ -} - MultiPhase& MultiPhase::operator=(const MultiPhase& right) { if (&right != this) { diff --git a/src/equil/vcs_SpeciesProperties.cpp b/src/equil/vcs_SpeciesProperties.cpp index b611a3d98..81ef308d4 100644 --- a/src/equil/vcs_SpeciesProperties.cpp +++ b/src/equil/vcs_SpeciesProperties.cpp @@ -23,10 +23,6 @@ vcs_SpeciesProperties::vcs_SpeciesProperties(size_t indexPhase, { } -vcs_SpeciesProperties::~vcs_SpeciesProperties() -{ -} - vcs_SpeciesProperties::vcs_SpeciesProperties(const vcs_SpeciesProperties& b) : IndexPhase(b.IndexPhase), IndexSpeciesPhase(b.IndexSpeciesPhase), diff --git a/src/equil/vcs_species_thermo.cpp b/src/equil/vcs_species_thermo.cpp index 402302d06..677d02bb5 100644 --- a/src/equil/vcs_species_thermo.cpp +++ b/src/equil/vcs_species_thermo.cpp @@ -43,10 +43,6 @@ VCS_SPECIES_THERMO::VCS_SPECIES_THERMO(size_t indexPhase, SS0_Pref = 1.01325E5; } -VCS_SPECIES_THERMO::~VCS_SPECIES_THERMO() -{ -} - VCS_SPECIES_THERMO::VCS_SPECIES_THERMO(const VCS_SPECIES_THERMO& b) : IndexPhase(b.IndexPhase), IndexSpeciesPhase(b.IndexSpeciesPhase), diff --git a/src/kinetics/ExtraGlobalRxn.cpp b/src/kinetics/ExtraGlobalRxn.cpp index 0feccecca..a5fe6a226 100644 --- a/src/kinetics/ExtraGlobalRxn.cpp +++ b/src/kinetics/ExtraGlobalRxn.cpp @@ -107,10 +107,6 @@ ExtraGlobalRxn::ExtraGlobalRxn(Kinetics* k_ptr) : m_nKinSpecies = m_kinetics->nTotalSpecies(); } //============================================================================================================ -ExtraGlobalRxn::~ExtraGlobalRxn() -{ -} -//============================================================================================================ void ExtraGlobalRxn::setupElemRxnVector(double* RxnVector, int specialSpecies) { diff --git a/src/kinetics/InterfaceKinetics.cpp b/src/kinetics/InterfaceKinetics.cpp index 32922dade..5351ad650 100644 --- a/src/kinetics/InterfaceKinetics.cpp +++ b/src/kinetics/InterfaceKinetics.cpp @@ -1369,14 +1369,6 @@ void EdgeKinetics::finalize() m_finalized = true; } -RxnOrders::RxnOrders() -{ -} - -RxnOrders::~RxnOrders() -{ -} - RxnOrders::RxnOrders(const RxnOrders& right) : kinSpeciesIDs_(right.kinSpeciesIDs_), kinSpeciesOrders_(right.kinSpeciesOrders_) diff --git a/src/kinetics/ReactionStoichMgr.cpp b/src/kinetics/ReactionStoichMgr.cpp index 905728697..c06e53da5 100644 --- a/src/kinetics/ReactionStoichMgr.cpp +++ b/src/kinetics/ReactionStoichMgr.cpp @@ -24,10 +24,6 @@ ReactionStoichMgr::ReactionStoichMgr() m_dummy.resize(10,1.0); } -ReactionStoichMgr::~ReactionStoichMgr() -{ -} - ReactionStoichMgr::ReactionStoichMgr(const ReactionStoichMgr& right) : m_reactants(right.m_reactants), m_revproducts(right.m_revproducts), diff --git a/src/kinetics/RxnMolChange.cpp b/src/kinetics/RxnMolChange.cpp index ced443165..b5094e742 100644 --- a/src/kinetics/RxnMolChange.cpp +++ b/src/kinetics/RxnMolChange.cpp @@ -154,11 +154,5 @@ RxnMolChange::RxnMolChange(Cantera::Kinetics* kinPtr, Cantera::ExtraGlobalRxn* e } - -RxnMolChange::~RxnMolChange() -{ - -} - } diff --git a/src/kinetics/solveSP.cpp b/src/kinetics/solveSP.cpp index 1e912ccb0..be20c47cd 100644 --- a/src/kinetics/solveSP.cpp +++ b/src/kinetics/solveSP.cpp @@ -128,10 +128,6 @@ solveSP::solveSP(ImplicitSurfChem* surfChemPtr, int bulkFunc) : m_Jac.resize(dim1, dim1, 0.0); } -solveSP::~solveSP() -{ -} - int solveSP::solveSurfProb(int ifunc, doublereal time_scale, doublereal TKelvin, doublereal PGas, doublereal reltol, doublereal abstol) { diff --git a/src/numerics/DenseMatrix.cpp b/src/numerics/DenseMatrix.cpp index 0f69007e6..911f87215 100644 --- a/src/numerics/DenseMatrix.cpp +++ b/src/numerics/DenseMatrix.cpp @@ -19,7 +19,6 @@ DenseMatrix::DenseMatrix() : DenseMatrix::DenseMatrix(size_t n, size_t m, doublereal v) : Array2D(n, m, v), - m_ipiv(0), m_useReturnErrorCode(0), m_printLevel(0) { diff --git a/src/numerics/Func1.cpp b/src/numerics/Func1.cpp index 3eacacab3..417169422 100644 --- a/src/numerics/Func1.cpp +++ b/src/numerics/Func1.cpp @@ -23,10 +23,6 @@ Func1::Func1(const Func1& right) : { } -Func1::~Func1() -{ -} - Func1& Func1::operator=(const Func1& right) { if (&right == this) { diff --git a/src/numerics/GeneralMatrix.cpp b/src/numerics/GeneralMatrix.cpp index bf8b72165..370ef9295 100644 --- a/src/numerics/GeneralMatrix.cpp +++ b/src/numerics/GeneralMatrix.cpp @@ -37,8 +37,4 @@ GeneralMatrix& GeneralMatrix::operator=(const GeneralMatrix& y) return *this; } -GeneralMatrix::~GeneralMatrix() -{ -} - } diff --git a/src/numerics/RootFind.cpp b/src/numerics/RootFind.cpp index 4fc279d15..757abf556 100644 --- a/src/numerics/RootFind.cpp +++ b/src/numerics/RootFind.cpp @@ -93,10 +93,6 @@ RootFind::RootFind(const RootFind& r) : *this = r; } -RootFind::~RootFind() -{ -} - RootFind& RootFind::operator=(const RootFind& right) { if (this == &right) { diff --git a/src/numerics/solveProb.cpp b/src/numerics/solveProb.cpp index 51a74340c..a267f47a9 100644 --- a/src/numerics/solveProb.cpp +++ b/src/numerics/solveProb.cpp @@ -58,10 +58,6 @@ solveProb::solveProb(ResidEval* resid) : } -solveProb::~solveProb() -{ -} - int solveProb::solve(int ifunc, doublereal time_scale, doublereal reltol) { diff --git a/src/oneD/Sim1D.cpp b/src/oneD/Sim1D.cpp index c20af1f5a..e46d87013 100644 --- a/src/oneD/Sim1D.cpp +++ b/src/oneD/Sim1D.cpp @@ -15,10 +15,6 @@ using namespace std; namespace Cantera { -Sim1D::Sim1D() -{ -} - Sim1D::Sim1D(vector& domains) : OneDim(domains) { diff --git a/src/thermo/ConstDensityThermo.cpp b/src/thermo/ConstDensityThermo.cpp index 8e3613fc7..f68064ba4 100644 --- a/src/thermo/ConstDensityThermo.cpp +++ b/src/thermo/ConstDensityThermo.cpp @@ -15,11 +15,6 @@ using namespace ctml; namespace Cantera { -ConstDensityThermo::ConstDensityThermo() -{ -} - - ConstDensityThermo::ConstDensityThermo(const ConstDensityThermo& right) { *this = right; diff --git a/src/thermo/GibbsExcessVPSSTP.cpp b/src/thermo/GibbsExcessVPSSTP.cpp index 6c5f99c31..6c6e95f38 100644 --- a/src/thermo/GibbsExcessVPSSTP.cpp +++ b/src/thermo/GibbsExcessVPSSTP.cpp @@ -23,10 +23,6 @@ using namespace std; namespace Cantera { -GibbsExcessVPSSTP::GibbsExcessVPSSTP() -{ -} - GibbsExcessVPSSTP::GibbsExcessVPSSTP(const GibbsExcessVPSSTP& b) { GibbsExcessVPSSTP::operator=(b); diff --git a/src/thermo/MineralEQ3.cpp b/src/thermo/MineralEQ3.cpp index fd87a87e6..947fb7a6a 100644 --- a/src/thermo/MineralEQ3.cpp +++ b/src/thermo/MineralEQ3.cpp @@ -27,10 +27,6 @@ namespace Cantera * ---- Constructors ------- */ -MineralEQ3::MineralEQ3() -{ -} - MineralEQ3::MineralEQ3(const std::string& infile, std::string id_) { XML_Node* root = get_XML_File(infile); diff --git a/src/thermo/PDSS.cpp b/src/thermo/PDSS.cpp index 31bfa8d81..260b4b28f 100644 --- a/src/thermo/PDSS.cpp +++ b/src/thermo/PDSS.cpp @@ -152,10 +152,6 @@ PDSS& PDSS::operator=(const PDSS& b) return *this; } -PDSS::~PDSS() -{ -} - PDSS* PDSS::duplMyselfAsPDSS() const { return new PDSS(*this); diff --git a/src/thermo/StoichSubstanceSSTP.cpp b/src/thermo/StoichSubstanceSSTP.cpp index 9dfd58751..cd23507b0 100644 --- a/src/thermo/StoichSubstanceSSTP.cpp +++ b/src/thermo/StoichSubstanceSSTP.cpp @@ -24,10 +24,6 @@ namespace Cantera * ---- Constructors ------- */ -StoichSubstanceSSTP::StoichSubstanceSSTP() -{ -} - StoichSubstanceSSTP::StoichSubstanceSSTP(const std::string& infile, std::string id_) { XML_Node* root = get_XML_File(infile); @@ -315,10 +311,6 @@ electrodeElectron::operator=(const electrodeElectron& right) return *this; } -electrodeElectron::~electrodeElectron() -{ -} - void electrodeElectron::setParametersFromXML(const XML_Node& eosdata) { if (eosdata["model"] != "electrodeElectron") { diff --git a/src/thermo/VPSSMgr.cpp b/src/thermo/VPSSMgr.cpp index 4cc907773..b219ba466 100644 --- a/src/thermo/VPSSMgr.cpp +++ b/src/thermo/VPSSMgr.cpp @@ -42,10 +42,6 @@ VPSSMgr::VPSSMgr(VPStandardStateTP* vptp_ptr, SpeciesThermo* spthermo) : } } -VPSSMgr::~VPSSMgr() -{ -} - VPSSMgr::VPSSMgr(const VPSSMgr& right) : m_kk(0), m_vptp_ptr(0), diff --git a/src/transport/LTPspecies.cpp b/src/transport/LTPspecies.cpp index 4016cef39..1d68c005c 100644 --- a/src/transport/LTPspecies.cpp +++ b/src/transport/LTPspecies.cpp @@ -91,10 +91,6 @@ LTPspecies* LTPspecies::duplMyselfAsLTPspecies() const return new LTPspecies(*this); } -LTPspecies::~LTPspecies() -{ -} - doublereal LTPspecies::getSpeciesTransProp() { return 0.0; diff --git a/src/transport/MMCollisionInt.cpp b/src/transport/MMCollisionInt.cpp index 4db74d256..79fe1a8bb 100644 --- a/src/transport/MMCollisionInt.cpp +++ b/src/transport/MMCollisionInt.cpp @@ -213,14 +213,6 @@ double MMCollisionInt::cstar_table[39*8] = { 0.94444, 0.94444,0.94444,0.94444,0.94444,0.94444,0.94444,0.94444 }; -MMCollisionInt::MMCollisionInt() -{ -} - -MMCollisionInt::~MMCollisionInt() -{ -} - void MMCollisionInt::init(doublereal tsmin, doublereal tsmax, int log_level) { m_loglevel = log_level; diff --git a/src/transport/MMCollisionInt.h b/src/transport/MMCollisionInt.h index 802b5431b..516ac2a35 100644 --- a/src/transport/MMCollisionInt.h +++ b/src/transport/MMCollisionInt.h @@ -23,8 +23,8 @@ namespace Cantera class MMCollisionInt { public: - MMCollisionInt(); - virtual ~MMCollisionInt(); + MMCollisionInt() {} + virtual ~MMCollisionInt() {} //! Initialize the object for calculation /*! diff --git a/src/transport/TransportBase.cpp b/src/transport/TransportBase.cpp index bc03f94ba..e6fa6893b 100644 --- a/src/transport/TransportBase.cpp +++ b/src/transport/TransportBase.cpp @@ -45,10 +45,6 @@ Transport* Transport::duplMyselfAsTransport() const return new Transport(*this); } -Transport::~Transport() -{ -} - bool Transport::ready() { return m_ready; diff --git a/src/transport/TransportParams.cpp b/src/transport/TransportParams.cpp index f57e1d083..7c9e8105c 100644 --- a/src/transport/TransportParams.cpp +++ b/src/transport/TransportParams.cpp @@ -24,10 +24,6 @@ TransportParams::TransportParams() : { } -TransportParams::~TransportParams() -{ -} - GasTransportParams::GasTransportParams() : TransportParams(), visccoeffs(0), diff --git a/src/zeroD/ConstPressureReactor.cpp b/src/zeroD/ConstPressureReactor.cpp index 7810957a5..766198d0a 100644 --- a/src/zeroD/ConstPressureReactor.cpp +++ b/src/zeroD/ConstPressureReactor.cpp @@ -13,8 +13,6 @@ using namespace std; namespace Cantera { -ConstPressureReactor::ConstPressureReactor() : Reactor() {} - void ConstPressureReactor::getInitialConditions(double t0, size_t leny, double* y) { if (m_thermo == 0) { diff --git a/src/zeroD/Reactor.cpp b/src/zeroD/Reactor.cpp index bcd91852f..0796c32d6 100644 --- a/src/zeroD/Reactor.cpp +++ b/src/zeroD/Reactor.cpp @@ -16,7 +16,7 @@ using namespace std; namespace Cantera { -Reactor::Reactor() : ReactorBase(), +Reactor::Reactor() : m_kin(0), m_vdot(0.0), m_Q(0.0), diff --git a/src/zeroD/ReactorNet.cpp b/src/zeroD/ReactorNet.cpp index 31ce87a7b..52e201c58 100644 --- a/src/zeroD/ReactorNet.cpp +++ b/src/zeroD/ReactorNet.cpp @@ -10,7 +10,7 @@ using namespace std; namespace Cantera { -ReactorNet::ReactorNet() : Cantera::FuncEval(), +ReactorNet::ReactorNet() : m_integ(0), m_time(0.0), m_init(false), m_integrator_init(false), m_nv(0), m_rtol(1.0e-9), m_rtolsens(1.0e-4), m_atols(1.0e-15), m_atolsens(1.0e-4),