Fix signature of SingleSpeciesTP::setMassFractions and setMoleFractions
This eliminates warnings generated by Visual Studio about the mismatch in constness between the base and derived class functions.
This commit is contained in:
parent
5cb1c787ad
commit
27e16e5bf1
1 changed files with 2 additions and 2 deletions
|
|
@ -402,10 +402,10 @@ public:
|
|||
*/
|
||||
|
||||
//! Mass fractions are fixed, with Y[0] = 1.0.
|
||||
void setMassFractions(const doublereal* y) {};
|
||||
void setMassFractions(const doublereal* const y) {};
|
||||
|
||||
//! Mole fractions are fixed, with x[0] = 1.0.
|
||||
void setMoleFractions(const doublereal* x) {};
|
||||
void setMoleFractions(const doublereal* const x) {};
|
||||
|
||||
//! Set the internally stored specific enthalpy (J/kg) and pressure (Pa) of the phase.
|
||||
/*!
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue