Made ready() a const function,

This commit is contained in:
Harry Moffat 2006-04-30 22:17:15 +00:00
parent 2b90d6827f
commit 34783d2266
2 changed files with 2 additions and 2 deletions

View file

@ -33,7 +33,7 @@ namespace Cantera {
virtual ~IdealGasMix() {}
bool operator!() { return !m_ok;}
bool ready() { return m_ok; }
bool ready() const { return m_ok; }
friend ostream& operator<<(ostream& s, IdealGasMix& mix) {
string r = report(mix, true);
s << r;

View file

@ -34,7 +34,7 @@ namespace Cantera {
virtual ~PureFluid() {}
bool operator!() { return !m_ok;}
bool ready() { return m_ok; }
bool ready() const { return m_ok; }
friend ostream& operator<<(ostream& s, PureFluid& mix) {
string r = report(mix, true);
s << r;