Merge pull request #1072 from atgeirr/fix-warnings

Fix a few warnings
This commit is contained in:
Joakim Hove 2016-09-25 21:06:33 +02:00 committed by GitHub
commit 7f1026551a
2 changed files with 5 additions and 3 deletions

View File

@ -109,8 +109,10 @@ namespace Opm{
std::shared_ptr< const Deck > deck) std::shared_ptr< const Deck > deck)
{ {
const int numSatRegions = deck->getKeyword("TABDIMS").getRecord(0).getItem("NTSFUN").get< int >(0); const int numSatRegions = deck->getKeyword("TABDIMS").getRecord(0).getItem("NTSFUN").get< int >(0);
const std::string msg = "Number of saturation regions: " + std::to_string(numSatRegions) + "\n"; {
OpmLog::info(msg); const std::string msg = "Number of saturation regions: " + std::to_string(numSatRegions) + "\n";
OpmLog::info(msg);
}
const auto& tableManager = eclState->getTableManager(); const auto& tableManager = eclState->getTableManager();
const TableContainer& swofTables = tableManager.getSwofTables(); const TableContainer& swofTables = tableManager.getSwofTables();
const TableContainer& slgofTables = tableManager.getSlgofTables(); const TableContainer& slgofTables = tableManager.getSlgofTables();

View File

@ -34,7 +34,7 @@
namespace Opm namespace Opm
{ {
class PhaseUsage; struct PhaseUsage;
/// The state of a set of wells. /// The state of a set of wells.
class WellState class WellState