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:
Ray Speth 2014-05-06 14:39:05 +00:00
parent 5cb1c787ad
commit 27e16e5bf1

View file

@ -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.
/*!