Fixed compilation errors on solaris.
Solaris picks up const and non-const differences between parent and child member functions.
This commit is contained in:
parent
7dc1e89be3
commit
85d0d72fc9
4 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue