From c74a441a3bff30b60f3ae3c31da1e7851bdd7a79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Atgeirr=20Fl=C3=B8=20Rasmussen?= Date: Wed, 13 Apr 2016 12:56:05 +0200 Subject: [PATCH] Remove const with no effect on value return. --- opm/parser/eclipse/EclipseState/Tables/TableManager.cpp | 6 +++--- opm/parser/eclipse/EclipseState/Tables/TableManager.hpp | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/opm/parser/eclipse/EclipseState/Tables/TableManager.cpp b/opm/parser/eclipse/EclipseState/Tables/TableManager.cpp index 286f02081..201ee03b8 100644 --- a/opm/parser/eclipse/EclipseState/Tables/TableManager.cpp +++ b/opm/parser/eclipse/EclipseState/Tables/TableManager.cpp @@ -694,15 +694,15 @@ namespace Opm { return m_vfpinjTables; } - const bool TableManager::useImptvd() const { + bool TableManager::useImptvd() const { return hasImptvd; } - const bool TableManager::useEnptvd() const { + bool TableManager::useEnptvd() const { return hasEnptvd; } - const bool TableManager::useEqlnum() const { + bool TableManager::useEqlnum() const { return hasEqlnum; } diff --git a/opm/parser/eclipse/EclipseState/Tables/TableManager.hpp b/opm/parser/eclipse/EclipseState/Tables/TableManager.hpp index 5a730f582..c096f6603 100644 --- a/opm/parser/eclipse/EclipseState/Tables/TableManager.hpp +++ b/opm/parser/eclipse/EclipseState/Tables/TableManager.hpp @@ -111,13 +111,13 @@ namespace Opm { size_t getNumPhases() const; /// 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 - const bool useEnptvd() const; + bool useEnptvd() const; /// deck has keyword "EQLNUM" --- Equilibriation region numbers - const bool useEqlnum() const; + bool useEqlnum() const; private: TableContainer& forceGetTables( const std::string& tableName , size_t numTables);