Made ready() a const function,
This commit is contained in:
parent
2b90d6827f
commit
34783d2266
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue