Remove const with no effect on value return.

This commit is contained in:
Atgeirr Flø Rasmussen
2016-04-13 12:56:05 +02:00
parent c6bd9e70fd
commit c74a441a3b
2 changed files with 6 additions and 6 deletions

View File

@@ -694,15 +694,15 @@ namespace Opm {
return m_vfpinjTables; return m_vfpinjTables;
} }
const bool TableManager::useImptvd() const { bool TableManager::useImptvd() const {
return hasImptvd; return hasImptvd;
} }
const bool TableManager::useEnptvd() const { bool TableManager::useEnptvd() const {
return hasEnptvd; return hasEnptvd;
} }
const bool TableManager::useEqlnum() const { bool TableManager::useEqlnum() const {
return hasEqlnum; return hasEqlnum;
} }

View File

@@ -111,13 +111,13 @@ namespace Opm {
size_t getNumPhases() const; size_t getNumPhases() const;
/// deck has keyword "IMPTVD" --- Imbition end-point versus depth tables /// deck has keyword "IMPTVD" --- Imbition end-point versus depth tables
const bool useImptvd() const; bool useImptvd() const;
/// deck has keyword "ENPTVD" --- Saturation end-point versus depth tables /// deck has keyword "ENPTVD" --- Saturation end-point versus depth tables
const bool useEnptvd() const; bool useEnptvd() const;
/// deck has keyword "EQLNUM" --- Equilibriation region numbers /// deck has keyword "EQLNUM" --- Equilibriation region numbers
const bool useEqlnum() const; bool useEqlnum() const;
private: private:
TableContainer& forceGetTables( const std::string& tableName , size_t numTables); TableContainer& forceGetTables( const std::string& tableName , size_t numTables);