Fixed compilation errors on solaris.

Solaris picks up const and non-const differences between parent and
child member functions.
This commit is contained in:
Harry Moffat 2007-07-13 17:15:19 +00:00
parent 7dc1e89be3
commit 85d0d72fc9
4 changed files with 4 additions and 4 deletions

View file

@ -33,7 +33,7 @@ namespace Cantera {
virtual ~Edge() {}
bool operator!() { return !m_ok;}
bool ready() { return m_ok; }
bool ready() const { return m_ok; }
protected:
bool m_ok;

View file

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

View file

@ -33,7 +33,7 @@ namespace Cantera {
virtual ~Interface() {}
bool operator!() { return !m_ok;}
bool ready() { return m_ok; }
bool ready() const { return m_ok; }
protected:
bool m_ok;

View file

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