Fixed some compiler warnings
(shadowed virtual functions, initialization order)
This commit is contained in:
parent
9010ecc644
commit
dc1ffee1a2
9 changed files with 9 additions and 9 deletions
|
|
@ -406,7 +406,7 @@ public:
|
|||
* phase. If none is given, the first XML
|
||||
* phase element will be used.
|
||||
*/
|
||||
virtual void initThermoXML(const XML_Node& phaseNode, std::string& id);
|
||||
virtual void initThermoXML(const XML_Node& phaseNode, const std::string& id);
|
||||
|
||||
//@}
|
||||
|
||||
|
|
|
|||
|
|
@ -403,7 +403,7 @@ public:
|
|||
* phase. If none is given, the first XML
|
||||
* phase element will be used.
|
||||
*/
|
||||
virtual void initThermoXML(const XML_Node& phaseNode, std::string& id);
|
||||
virtual void initThermoXML(const XML_Node& phaseNode, const std::string& id);
|
||||
|
||||
//! Initialization routine for all of the shallow pointers
|
||||
/*!
|
||||
|
|
|
|||
|
|
@ -435,7 +435,7 @@ public:
|
|||
* phase. If none is given, the first XML
|
||||
* phase element will be used.
|
||||
*/
|
||||
virtual void initThermoXML(const XML_Node& phaseNode, std::string& id);
|
||||
virtual void initThermoXML(const XML_Node& phaseNode, const std::string& id);
|
||||
|
||||
//! Initialization routine for all of the shallow pointers
|
||||
/*!
|
||||
|
|
|
|||
|
|
@ -549,7 +549,7 @@ private:
|
|||
* phase. If none is given, the first XML
|
||||
* phase element will be used.
|
||||
*/
|
||||
virtual void initThermoXML(const XML_Node& phaseNode, std::string& id);
|
||||
virtual void initThermoXML(const XML_Node& phaseNode, const std::string& id);
|
||||
|
||||
//@}
|
||||
|
||||
|
|
|
|||
|
|
@ -186,7 +186,7 @@ void PDSS_ConstVol::constructPDSSFile(VPStandardStateTP* tp, size_t spindex,
|
|||
delete fxml;
|
||||
}
|
||||
|
||||
void PDSS_ConstVol::initThermoXML(const XML_Node& phaseNode, std::string& id)
|
||||
void PDSS_ConstVol::initThermoXML(const XML_Node& phaseNode, const std::string& id)
|
||||
{
|
||||
PDSS::initThermoXML(phaseNode, id);
|
||||
m_minTemp = m_spthermo->minTemp(m_spindex);
|
||||
|
|
|
|||
|
|
@ -147,7 +147,7 @@ void PDSS_IdealGas::constructPDSSFile(VPStandardStateTP* tp, size_t spindex,
|
|||
delete fxml;
|
||||
}
|
||||
|
||||
void PDSS_IdealGas::initThermoXML(const XML_Node& phaseNode, std::string& id)
|
||||
void PDSS_IdealGas::initThermoXML(const XML_Node& phaseNode, const std::string& id)
|
||||
{
|
||||
PDSS::initThermoXML(phaseNode, id);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -261,7 +261,7 @@ void PDSS_IonsFromNeutral::constructPDSSFile(VPStandardStateTP* tp, size_t spind
|
|||
delete fxml;
|
||||
}
|
||||
//=======================================================================================================
|
||||
void PDSS_IonsFromNeutral::initThermoXML(const XML_Node& phaseNode, std::string& id)
|
||||
void PDSS_IonsFromNeutral::initThermoXML(const XML_Node& phaseNode, const std::string& id)
|
||||
{
|
||||
PDSS::initThermoXML(phaseNode, id);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -213,7 +213,7 @@ void PDSS_SSVol::constructPDSSFile(VPStandardStateTP* tp, size_t spindex,
|
|||
delete fxml;
|
||||
}
|
||||
|
||||
void PDSS_SSVol::initThermoXML(const XML_Node& phaseNode, std::string& id)
|
||||
void PDSS_SSVol::initThermoXML(const XML_Node& phaseNode, const std::string& id)
|
||||
{
|
||||
PDSS::initThermoXML(phaseNode, id);
|
||||
m_minTemp = m_spthermo->minTemp(m_spindex);
|
||||
|
|
|
|||
|
|
@ -15,8 +15,8 @@ namespace Cantera
|
|||
|
||||
FlowReactor::FlowReactor() :
|
||||
Reactor(),
|
||||
m_fctr(1.0e10),
|
||||
m_dist(0.0),
|
||||
m_fctr(1.0e10),
|
||||
m_speed0(0.0)
|
||||
{
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue